We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b276c7 commit 0f03afcCopy full SHA for 0f03afc
labelbox/schema/project.py
@@ -605,17 +605,15 @@ def create_batch(self,
605
}
606
""" % (method, method, query.results_query_part(Entity.Batch))
607
608
+ consensus_settings_dict = consensus_settings.dict(
609
+ ) if consensus_settings else None
610
params = {
611
"projectId": self.uid,
612
"batchInput": {
- "name":
- name,
613
- "dataRowIds":
614
- dr_ids,
615
- "priority":
616
- priority,
617
- "consensusSettings":
618
- consensus_settings.dict() if consensus_settings else None
+ "name": name,
+ "dataRowIds": dr_ids,
+ "priority": priority,
+ "consensusSettings": consensus_settings_dict
619
620
621
0 commit comments