Skip to content

Commit 2f304d4

Browse files
committed
updated error message
1 parent ff86a2b commit 2f304d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frost_sta_client/model/entity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def id(self, value):
4242
if isinstance(value, int) or isinstance(value, str):
4343
self._id = value
4444
return
45-
raise ValueError('id of entity should be of type int!')
45+
raise ValueError('id of entity should be of type int or str!')
4646

4747
@property
4848
def self_link(self):

0 commit comments

Comments
 (0)