Skip to content

Commit 9f276e9

Browse files
committed
fix hashing as key by disable warning in event.py
1 parent 28975f2 commit 9f276e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eventsourcingdb/event/event.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ def parse(unknown_object: dict) -> "Event":
6565
if not isinstance(predecessor_hash, str):
6666
raise ValidationError(
6767
f'Failed to parse predecessor_hash \'{predecessor_hash}\' to string.')
68-
68+
69+
# pylint: disable=W0622
6970
hash = unknown_object.get('hash')
7071
if not isinstance(hash, str):
7172
raise ValidationError(

0 commit comments

Comments
 (0)