Skip to content

Commit a65a3cf

Browse files
Update labelbox/client.py
Co-authored-by: olegtrygub <oleg.trygub@gmail.com>
1 parent 4dfb934 commit a65a3cf

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

labelbox/client.py

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -978,21 +978,24 @@ def assign_global_keys_to_data_rows(
978978

979979
get_failed_assignments_str = """query getDataRowsForGlobalKeysPyApi($jobId: ID!) {
980980
assignGlobalKeysToDataRowsResult(jobId: {id: $jobId}) {
981-
sanitizedAssignments {
982-
dataRowId
983-
globalKey
984-
}
985-
invalidGlobalKeyAssignments {
986-
dataRowId
987-
globalKey
988-
}
989-
unmodifiedAssignments {
990-
dataRowId
991-
globalKey
992-
}
993-
accessDeniedAssignments {
994-
dataRowId
995-
globalKey
981+
jobStatus
982+
data {
983+
sanitizedAssignments {
984+
dataRowId
985+
globalKey
986+
}
987+
invalidGlobalKeyAssignments {
988+
dataRowId
989+
globalKey
990+
}
991+
unmodifiedAssignments {
992+
dataRowId
993+
globalKey
994+
}
995+
accessDeniedAssignments {
996+
dataRowId
997+
globalKey
998+
}
996999
}}}
9971000
"""
9981001
get_failed_assignments_params = {

0 commit comments

Comments
 (0)