Commit ba244848 authored by mouadh's avatar mouadh

Prefer static methods over instance methods

parent 2d97c1e8
...@@ -65,7 +65,8 @@ class CubeGen: ...@@ -65,7 +65,8 @@ class CubeGen:
for (table_name, table_value) in tables.items(): for (table_name, table_value) in tables.items():
table_value.to_csv(os.path.join(os.path.join(cube_path, table_name + '.csv')), sep=";", index=False) table_value.to_csv(os.path.join(os.path.join(cube_path, table_name + '.csv')), sep=";", index=False)
def remove_temp_cube(self): @staticmethod
def remove_temp_cube():
""" """
remove the temporary cube remove the temporary cube
""" """
......
...@@ -460,7 +460,8 @@ class MdxEngine: ...@@ -460,7 +460,8 @@ class MdxEngine:
'where': on_where 'where': on_where
} }
def change_measures(self, tuples_on_mdx): @staticmethod
def change_measures(tuples_on_mdx):
""" """
set measures to which exists in the query set measures to which exists in the query
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment