@@ -140,8 +140,9 @@ def create_upload_dict(client:labelboxClient, table: pandas.core.frame.DataFrame
140
140
futures = []
141
141
for row_dict in table_dict :
142
142
futures .append (exc .submit (
143
- create_upload , row_dict , row_data_col , global_key_col , external_id_col , dataset_id_col , dataset_id ,
144
- project_id_col , project_id , model_id_col , model_id , model_run_id_col , model_run_id ,
143
+ create_upload , row_dict , row_data_col , global_key_col , external_id_col ,
144
+ dataset_id_col , dataset_id , project_id_col , project_id ,
145
+ model_id_col , model_id , model_run_id_col , model_run_id ,
145
146
metadata_index , attachment_index , annotation_index , prediction_index ,
146
147
project_id_to_ontology_index , model_run_id_to_ontology_index , model_id_to_model_run_id ,
147
148
annotate_action , prediction_action ,
@@ -165,9 +166,9 @@ def create_upload_dict(client:labelboxClient, table: pandas.core.frame.DataFrame
165
166
def create_upload (row_dict :dict , row_data_col :str , global_key_col :str , external_id_col :str ,
166
167
dataset_id_col :str , dataset_id :str , project_id_col :str , project_id :str ,
167
168
model_id_col :str , model_id :str , model_run_id_col :str , model_run_id :str ,
168
- metadata_index :dict , attachment_index :dict , annotation_index :dict ,
169
- project_id_to_ontology_index :dict , model_run_id_to_ontology_index :dict ,
170
- model_id_to_model_run_id : dict , annotate_action :bool , prediction_action ,
169
+ metadata_index :dict , attachment_index :dict , annotation_index :dict , prediction_index : dict ,
170
+ project_id_to_ontology_index :dict , model_run_id_to_ontology_index :dict , model_id_to_model_run_id : dict ,
171
+ annotate_action :bool , prediction_action : bool ,
171
172
metadata_name_key_to_schema :dict , upload_method :str , mask_method :str ,
172
173
divider :str , verbose :bool ):
173
174
""" Takes a single table row as-a-dictinary and returns a dictionary where:
0 commit comments