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 b177143 commit bb83716Copy full SHA for bb83716
libs/labelbox/src/labelbox/schema/dataset.py
@@ -999,18 +999,15 @@ def remove_iam_integration(self) -> None:
999
mutation DetachSignerPyApi($id: ID!) {
1000
clearSignerForDataset(where: { id: $id }) {
1001
id
1002
- signer {
1003
- id
1004
- }
1005
}
1006
1007
"""
1008
1009
response = self.client.execute(query, {"id": self.uid})
1010
1011
- if response:
1012
- return response.get("clearSignerForDataset", {}).get("signer")
1013
- else:
1014
- raise ResourceNotFoundError(IAMIntegration, {"datasetId": self.uid})
+ if not response:
+ raise ResourceNotFoundError(Dataset, {"id": self.uid})
+
1015
1016
0 commit comments