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

Commit a5a7bfd

Browse files
Update client.py
1 parent 0e7ad7c commit a5a7bfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

labelpandas/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def create_data_rows_from_table(
4949
# metadata_index : Dictonary where {key=column_name : value=metadata_type}
5050
# attachment_index : Dictonary where {key=column_name : value=attachment_type}
5151
# annotation_index : Dictonary where {key=column_name : value=annotation_type}
52-
row_data_col, global_key_col, external_id_col, metadata_index, attachment_index, annotation_index = labelbase.validate_columns(
52+
row_data_col, global_key_col, external_id_col, metadata_index, attachment_index, annotation_index = labelbase.connector.validate_columns(
5353
table=table,
5454
get_columns_function=connector.get_columns_function,
5555
get_unique_values_function=connector.get_unique_values_function,
@@ -79,7 +79,7 @@ def create_data_rows_from_table(
7979
}
8080

8181
# Upload your data rows to Labelbox
82-
data_row_upload_results = uploader.batch_create_data_rows(
82+
data_row_upload_results = labelbase.uploader.batch_create_data_rows(
8383
client=self.lb_client, dataset=lb_dataset, global_key_to_upload_dict=global_key_to_upload_dict,
8484
skip_duplicates=skip_duplicates, divider=divider, verbose=verbose
8585
)

0 commit comments

Comments
 (0)