You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
local_files : Required (bool) - If True, will create urls for local files; if False, uploads `row_data_col` as urls
39
-
global_key_col : Optional (str) - Column name containing the data row global key - defaults to row data
40
-
external_id_col : Optional (str) - Column name containing the data row external ID - defaults to global key
41
-
metadata_index : Required (dict) - Dictionary where {key=column_name : value=metadata_type} - metadata_type = "enum", "string", "datetime" or "number"
42
-
skip_duplicates : Optional (bool) - If True, will skip duplicate global_keys, otherwise will generate a unique global_key with a suffix "_1", "_2" and so on
43
-
verbose : Required (bool) - If True, prints information about code execution
44
-
divider : Optional (str) - String delimiter for all name keys generated
38
+
local_files : Required (bool) - Determines how to handle row_data_col values
39
+
If True, treats row_data_col values as file paths uploads the local files to Labelbox
40
+
If False, treats row_data_col values as urls (assuming delegated access is set up)
41
+
global_key_col : Optional (str) - Column name containing the data row global key - defaults to row_data_col
42
+
external_id_col : Optional (str) - Column name containing the data row external ID - defaults to global_key_col
43
+
metadata_index : Required (dict) - Dictionary where {key=column_name : value=metadata_type}
44
+
metadata_type must be either "enum", "string", "datetime" or "number"
45
+
skip_duplicates : Optional (bool) - Determines how to handle if a global key to-be-uploaded is already in use
46
+
If True, will skip duplicate global_keys and not upload them
47
+
If False, will generate a unique global_key with a suffix "_1", "_2" and so on
48
+
verbose : Required (bool) - If True, prints details about code execution; if False, prints minimal information
49
+
divider : Optional (str) - String delimiter for all name keys generated for parent/child schemas
45
50
Returns:
46
51
A dictionary with "upload_results" and "conversion_errors" keys
47
52
- "upload_results" key pertains to the results of the data row upload itself
0 commit comments