Skip to content

Commit

Permalink
readd dataclass
Browse files Browse the repository at this point in the history
  • Loading branch information
rzlim08 committed Nov 16, 2023
1 parent 4d87835 commit 02cfc74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workflows/entity_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def _snake_to_camel(s: str) -> str:
}


@dataclass
class Entity(ABC):
entity_id: Optional[UUID] = field(default_factory=lambda: None, init=False)
version: Optional[Version] = field(default_factory=lambda: Version(0), init=False)
Expand Down

0 comments on commit 02cfc74

Please sign in to comment.