Skip to content

Commit

Permalink
Node is frozen and hashable
Browse files Browse the repository at this point in the history
  • Loading branch information
johncthomas committed Sep 12, 2023
1 parent 06e0f51 commit 0b3c0ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import typing

@dataclass
@dataclass(frozen=True)
class Node:
table:str
primary_key:typing.Any
Expand Down

0 comments on commit 0b3c0ad

Please sign in to comment.