Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tb_rest_client/models/models_ce/asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ def label(self, label):
:param label: The label of this Asset. # noqa: E501
:type: str
"""
if label is None:
raise ValueError("Invalid value for `label`, must not be `None`") # noqa: E501
# if label is None:
# raise ValueError("Invalid value for `label`, must not be `None`") # noqa: E501

self._label = label

Expand Down
4 changes: 2 additions & 2 deletions tb_rest_client/models/models_pe/asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ def label(self, label):
:param label: The label of this Asset. # noqa: E501
:type: str
"""
if label is None:
raise ValueError("Invalid value for `label`, must not be `None`") # noqa: E501
# if label is None:
# raise ValueError("Invalid value for `label`, must not be `None`") # noqa: E501

self._label = label

Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/rest_client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def __save_token(self, token_json):
self.configuration.api_key_prefix["X-Authorization"] = "Bearer"
self.configuration.api_key["X-Authorization"] = token
self.token_info['token'] = token
self.token_info['refreshToken'] = refreshToken
self.token_info['refreshToken'] = refresh_token

def __load_configuration(self):
self.api_client = ApiClient(self.configuration)
Expand Down