Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit ecd257b

Browse files
authoredDec 23, 2022
Update client.py
1 parent 2505dc5 commit ecd257b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed
 

‎labelpandas/client.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,7 @@ def create_data_rows_from_table(
5555
verbose : Required (bool) - If True, prints information about code execution
5656
Returns:
5757
List of errors from data row upload - if successful, is an empty list
58-
"""
59-
check = self.base_client.enforce_metadata_index(
60-
metadata_index=metadata_index,
61-
verbose=verbose
62-
)
63-
if not check:
64-
return None
58+
"""
6559
table = self.base_client.sync_metadata_fields(
6660
table=table,
6761
get_columns_function=connector.get_columns_function,
@@ -70,6 +64,7 @@ def create_data_rows_from_table(
7064
metadata_index=metadata_index,
7165
verbose=verbose
7266
)
67+
7368
if type(table) == bool:
7469
return None
7570

0 commit comments

Comments
 (0)