Skip to content

Commit

Permalink
extractors: remove superfluous "static" sttribute from sqlite extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
awillecke committed Jun 3, 2024
1 parent ed783fd commit 4f8efee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def read_query_from_file(db_file, query, alias


@staticmethod
def read_sql_from_file(db_file, query, statics
def read_sql_from_file(db_file, query
, categorical_columns=[], excluded_categorical_columns=set()
):
sql_reader = SqlLiteReader(db_file)
Expand Down Expand Up @@ -455,7 +455,7 @@ def prepare(self):
result_list = []
for db_file in data_set.get_file_list():
res = dask.delayed(BaseExtractor.read_sql_from_file)\
(db_file, self.query, self.statics
(db_file, self.query
, categorical_columns = self.categorical_columns
, excluded_categorical_columns = self.categorical_columns_excluded
)
Expand Down

0 comments on commit 4f8efee

Please sign in to comment.