You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try:
server_response=self.put_request(url, add_req)
exceptServerResponseErrorase:
ife.code=="404003":
error="Adding tags to this resource type is only available with REST API version 2.6 and later."raiseEndpointUnavailableError(error)
returnTagItem.from_response(server_response.content)
The last line should be immediately after the put_request, otherwise, we can get a uninitialized variable error on server_response on a non404003 error.
The text was updated successfully, but these errors were encountered:
From resource_tagger.py
The last line should be immediately after the put_request, otherwise, we can get a uninitialized variable error on server_response on a non
404003
error.The text was updated successfully, but these errors were encountered: