@@ -266,7 +266,7 @@ def from_name(cls,
266
266
267
267
@classmethod
268
268
def _get_url_mutation (cls ) -> str :
269
- return """mutation createMEAPredictionImportPyApi ($modelRunId : ID!, $name: String!, $fileUrl: String!) {
269
+ return """mutation createMEAPredictionImportByUrlPyApi ($modelRunId : ID!, $name: String!, $fileUrl: String!) {
270
270
createModelErrorAnalysisPredictionImport(data: {
271
271
modelRunId: $modelRunId
272
272
name: $name
@@ -276,7 +276,7 @@ def _get_url_mutation(cls) -> str:
276
276
277
277
@classmethod
278
278
def _get_file_mutation (cls ) -> str :
279
- return """mutation createMEAPredictionImportPyApi ($modelRunId : ID!, $name: String!, $file: Upload!, $contentLength: Int!) {
279
+ return """mutation createMEAPredictionImportByFilePyApi ($modelRunId : ID!, $name: String!, $file: Upload!, $contentLength: Int!) {
280
280
createModelErrorAnalysisPredictionImport(data: {
281
281
modelRunId: $modelRunId name: $name filePayload: { file: $file, contentLength: $contentLength}
282
282
}) {%s}
@@ -423,7 +423,7 @@ def from_name(cls,
423
423
424
424
@classmethod
425
425
def _get_url_mutation (cls ) -> str :
426
- return """mutation createMALPredictionImportPyApi ($projectId : ID!, $name: String!, $fileUrl: String!) {
426
+ return """mutation createMALPredictionImportByUrlPyApi ($projectId : ID!, $name: String!, $fileUrl: String!) {
427
427
createModelAssistedLabelingPredictionImport(data: {
428
428
projectId: $projectId
429
429
name: $name
@@ -433,7 +433,7 @@ def _get_url_mutation(cls) -> str:
433
433
434
434
@classmethod
435
435
def _get_file_mutation (cls ) -> str :
436
- return """mutation createMALPredictionImportPyApi ($projectId : ID!, $name: String!, $file: Upload!, $contentLength: Int!) {
436
+ return """mutation createMALPredictionImportByFilePyApi ($projectId : ID!, $name: String!, $file: Upload!, $contentLength: Int!) {
437
437
createModelAssistedLabelingPredictionImport(data: {
438
438
projectId: $projectId name: $name filePayload: { file: $file, contentLength: $contentLength}
439
439
}) {%s}
@@ -493,7 +493,7 @@ def create_from_objects(cls, client: "labelbox.Client", project_id: str,
493
493
name : str ,
494
494
labels : List [Dict [str , Any ]]) -> "LabelImport" :
495
495
"""
496
- Create an label import job from an in memory dictionary
496
+ Create a label import job from an in memory dictionary
497
497
498
498
Args:
499
499
client: Labelbox Client for executing queries
@@ -514,7 +514,7 @@ def create_from_objects(cls, client: "labelbox.Client", project_id: str,
514
514
def create_from_url (cls , client : "labelbox.Client" , project_id : str ,
515
515
name : str , url : str ) -> "LabelImport" :
516
516
"""
517
- Create an label annotation import job from a url
517
+ Create a label annotation import job from a url
518
518
The url must point to a file containing label annotations.
519
519
520
520
Args:
@@ -573,7 +573,7 @@ def from_name(cls,
573
573
574
574
@classmethod
575
575
def _get_url_mutation (cls ) -> str :
576
- return """mutation createLabelImportPyApi ($projectId : ID!, $name: String!, $fileUrl: String!) {
576
+ return """mutation createLabelImportByUrlPyApi ($projectId : ID!, $name: String!, $fileUrl: String!) {
577
577
createLabelImport(data: {
578
578
projectId: $projectId
579
579
name: $name
@@ -583,7 +583,7 @@ def _get_url_mutation(cls) -> str:
583
583
584
584
@classmethod
585
585
def _get_file_mutation (cls ) -> str :
586
- return """mutation createLabelImportPyApi ($projectId : ID!, $name: String!, $file: Upload!, $contentLength: Int!) {
586
+ return """mutation createLabelImportByFilePyApi ($projectId : ID!, $name: String!, $file: Upload!, $contentLength: Int!) {
587
587
createLabelImport(data: {
588
588
projectId: $projectId name: $name filePayload: { file: $file, contentLength: $contentLength}
589
589
}) {%s}
0 commit comments