Skip to content

Commit

Permalink
Fix update_info problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Min-june committed Nov 10, 2023
1 parent 0467c4a commit 2aae8ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions spb/labels/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,15 +340,15 @@ def update_info(
result=result
)
response = self.session.execute(query, values)
data = self.session.get_data_from_mutation(response, QUERY_ID)
updated_label = Label(**data)
self.set_info_with_url(
label_info=label_info,
label=label
label=updated_label
)
updated_label = self.session.get_label_info_from_url(updated_label)
except Exception as e:
raise e
updated_label = self.session.build_label_from_response(
QUERY_ID, response
)
return updated_label

def update_tags(self, label: Label, tags: List[Union[str, Tags]]):
Expand Down
2 changes: 1 addition & 1 deletion spb/sdk_config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SDK_NAME='spb-cli'
SDK_AUTHOR='Superb AI Dev Team'
SDK_VERSION='0.18.0'
SDK_VERSION='0.18.1'
SDK_AUTHOR_EMAIL='support@superb-ai.com'
SDK_DESCRIPTION='Suite Standard Library'
SDK_LICENSE='MIT'
Expand Down

0 comments on commit 2aae8ce

Please sign in to comment.