Commit c4af3995 authored by mouadh's avatar mouadh

Prefer static methods over instance methods

parent a351457d
......@@ -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
......
......@@ -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
......
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