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 90708e9 commit b3f0d3dCopy full SHA for b3f0d3d
labelbox/schema/organization.py
@@ -161,10 +161,7 @@ def get_resource_tags(self) -> List[ResourceTag]:
161
query_str = """query GetOrganizationResourceTagsPyApi{organization{resourceTag{%s}}}""" % (
162
query.results_query_part(ResourceTag))
163
164
- return [
165
- ResourceTag(self.client, resourceTag)
166
- for resourceTag in res['createResourceTag']
167
- ]
+ return self.client.execute(query_str)['organization']['resourceTag']
168
169
def get_iam_integrations(self) -> List["IAMIntegration"]:
170
"""
0 commit comments