Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
olapy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
olapy
Commits
c4af3995
Commit
c4af3995
authored
May 03, 2017
by
mouadh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefer static methods over instance methods
parent
a351457d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
micro_bench/cube_generator.py
micro_bench/cube_generator.py
+2
-1
olapy/core/mdx/executor/execute.py
olapy/core/mdx/executor/execute.py
+2
-1
No files found.
micro_bench/cube_generator.py
View file @
c4af3995
...
...
@@ -49,7 +49,8 @@ class CubeGen:
tables
[
'Facts'
]
=
facts
return
tables
def
generate_csv
(
self
,
tables
):
@
staticmethod
def
generate_csv
(
tables
):
"""
generate csv files for the generated DataFrames
:param tables: dict of DataFrames
...
...
olapy/core/mdx/executor/execute.py
View file @
c4af3995
...
...
@@ -364,7 +364,8 @@ class MdxEngine:
return
os
.
path
.
join
(
self
.
cube_path
,
self
.
cube
)
# TODO temporary function
def
get_tuples
(
self
,
query
,
start
=
None
,
stop
=
None
):
@
staticmethod
def
get_tuples
(
query
,
start
=
None
,
stop
=
None
):
"""
get all tuples in the mdx query
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment