Skip to content

Commit 1c6fc94

Browse files
committed
Fix client error, missing raising exception
1 parent 2830068 commit 1c6fc94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

terminusdb_client/schema/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __init__(self, keys: Union[str, list, None] = None):
5353
elif isinstance(keys, list):
5454
self._keys = keys
5555
else:
56-
ValueError(f"keys need to be either str or list but got {keys}")
56+
raise ValueError(f"keys need to be either str or list but got {keys}")
5757

5858

5959
class HashKey(TerminusKey):

0 commit comments

Comments
 (0)