Commit 2c788220 authored by mouadh's avatar mouadh

format import

parent 12be070e
...@@ -13,8 +13,9 @@ import pandas as pd ...@@ -13,8 +13,9 @@ import pandas as pd
from .execute_csv_files import _load_tables_csv_files, _construct_star_schema_csv_files from .execute_csv_files import _load_tables_csv_files, _construct_star_schema_csv_files
from .execute_db import _load_tables_db, _construct_star_schema_db from .execute_db import _load_tables_db, _construct_star_schema_db
from .execute_config_file import _load_table_config_file from .execute_config_file import (_load_table_config_file,
from .execute_config_file import _construct_web_star_schema_config_file, _construct_star_schema_config_file _construct_web_star_schema_config_file,
_construct_star_schema_config_file)
from ..tools.config_file_parser import ConfigParser from ..tools.config_file_parser import ConfigParser
from ..tools.connection import MyDB from ..tools.connection import MyDB
...@@ -167,7 +168,8 @@ class MdxEngine: ...@@ -167,7 +168,8 @@ class MdxEngine:
fusion = None fusion = None
config_file_parser = ConfigParser(self.cube_path) config_file_parser = ConfigParser(self.cube_path)
if config_file_parser.config_file_exist(client_type if config_file_parser.config_file_exist(
client_type
) and self.cube in config_file_parser.get_cubes_names(): ) and self.cube in config_file_parser.get_cubes_names():
for cubes in config_file_parser.construct_cubes(client_type): for cubes in config_file_parser.construct_cubes(client_type):
# TODO cubes.source == 'csv' # TODO cubes.source == 'csv'
......
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