Skip to content

Commit

Permalink
Fixed integration test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
anchapin committed May 29, 2024
1 parent c2b8140 commit 706e183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyseed/seed_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ def create_extra_data_column(self, column_name: str, display_name: str, inventor
extra_data_cols = [item for item in columns if item['is_extra_data']]

# see if extra data column already exists (for now don't update it, just skip it)
res = List(filter(lambda extra_data_cols: extra_data_cols['column_name'] == column_name, extra_data_cols))
res = list(filter(lambda extra_data_cols: extra_data_cols['column_name'] == column_name, extra_data_cols))
if res:
# column already exists
result = {"status": "noop", "message": "column already exists"}
Expand Down Expand Up @@ -1024,7 +1024,7 @@ def create_extra_data_columns_from_file(self, columns_csv_filepath: str) -> List
# open file in read mode
with open(columns_csv_filepath, 'r') as f:
Dict_reader = DictReader(f)
columns = List(Dict_reader)
columns = list(Dict_reader)

results = []
for col in columns:
Expand Down

0 comments on commit 706e183

Please sign in to comment.