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

Commit b30c843

Browse files
Update client.py
1 parent 7397e20 commit b30c843

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

labelpandas/client.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ def create_data_rows_from_table(
4343
divider : Optional (str) - String delimiter for schema name keys and suffix added to duplocate global keys
4444
"""
4545
# Create a metadata_index, attachment_index, and annotation_index
46-
# row_data_col : column with name "row_data"
47-
# global_key_col : column with name "global_key" - defaults to row_data_col
48-
# external_id_col : column with name "external_id" - defaults to global_key_col
49-
# project_id_col : column with name "project_id" - defaults to "" (requires project_id input argument if no "project_id" column exists)
50-
# dataset_id_col : column with name "dataset_id" - defaults to "" (requires project_id input argument if no "dataset_id" column exists)
51-
# external_id_col : column with name "external_id" - defaults to global_key_col
52-
# metadata_index : Dictonary where {key=column_name : value=metadata_type}
53-
# attachment_index : Dictonary where {key=column_name : value=attachment_type}
54-
# annotation_index : Dictonary where {key=column_name : value=annotation_type}
46+
# row_data_col : column with name "row_data"
47+
# global_key_col : column with name "global_key" - defaults to row_data_col
48+
# external_id_col : column with name "external_id" - defaults to global_key_col
49+
# project_id_col : column with name "project_id" - defaults to "" (requires project_id input argument if no "project_id" column exists)
50+
# dataset_id_col : column with name "dataset_id" - defaults to "" (requires project_id input argument if no "dataset_id" column exists)
51+
# external_id_col : column with name "external_id" - defaults to global_key_col
52+
# metadata_index : Dictonary where {key=column_name : value=metadata_type}
53+
# attachment_index : Dictonary where {key=column_name : value=attachment_type}
54+
# annotation_index : Dictonary where {key=column_name : value=top_level_feature_name}
5555
row_data_col, global_key_col, external_id_col, project_id_col, dataset_id_col, metadata_index, attachment_index, annotation_index = labelbase.connector.validate_columns(
5656
table=table,
5757
get_columns_function=connector.get_columns_function,

0 commit comments

Comments
 (0)