@@ -43,15 +43,15 @@ def create_data_rows_from_table(
43
43
divider : Optional (str) - String delimiter for schema name keys and suffix added to duplocate global keys
44
44
"""
45
45
# 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 }
55
55
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 (
56
56
table = table ,
57
57
get_columns_function = connector .get_columns_function ,
0 commit comments