@@ -266,7 +266,7 @@ def from_name(cls,
266266
267267 @classmethod
268268 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!) {
270270 createModelErrorAnalysisPredictionImport(data: {
271271 modelRunId: $modelRunId
272272 name: $name
@@ -276,7 +276,7 @@ def _get_url_mutation(cls) -> str:
276276
277277 @classmethod
278278 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!) {
280280 createModelErrorAnalysisPredictionImport(data: {
281281 modelRunId: $modelRunId name: $name filePayload: { file: $file, contentLength: $contentLength}
282282 }) {%s}
@@ -423,7 +423,7 @@ def from_name(cls,
423423
424424 @classmethod
425425 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!) {
427427 createModelAssistedLabelingPredictionImport(data: {
428428 projectId: $projectId
429429 name: $name
@@ -433,7 +433,7 @@ def _get_url_mutation(cls) -> str:
433433
434434 @classmethod
435435 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!) {
437437 createModelAssistedLabelingPredictionImport(data: {
438438 projectId: $projectId name: $name filePayload: { file: $file, contentLength: $contentLength}
439439 }) {%s}
@@ -493,7 +493,7 @@ def create_from_objects(cls, client: "labelbox.Client", project_id: str,
493493 name : str ,
494494 labels : List [Dict [str , Any ]]) -> "LabelImport" :
495495 """
496- Create an label import job from an in memory dictionary
496+ Create a label import job from an in memory dictionary
497497
498498 Args:
499499 client: Labelbox Client for executing queries
@@ -514,7 +514,7 @@ def create_from_objects(cls, client: "labelbox.Client", project_id: str,
514514 def create_from_url (cls , client : "labelbox.Client" , project_id : str ,
515515 name : str , url : str ) -> "LabelImport" :
516516 """
517- Create an label annotation import job from a url
517+ Create a label annotation import job from a url
518518 The url must point to a file containing label annotations.
519519
520520 Args:
@@ -573,7 +573,7 @@ def from_name(cls,
573573
574574 @classmethod
575575 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!) {
577577 createLabelImport(data: {
578578 projectId: $projectId
579579 name: $name
@@ -583,7 +583,7 @@ def _get_url_mutation(cls) -> str:
583583
584584 @classmethod
585585 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!) {
587587 createLabelImport(data: {
588588 projectId: $projectId name: $name filePayload: { file: $file, contentLength: $contentLength}
589589 }) {%s}
0 commit comments