Skip to content

Commit

Permalink
also allow None for unit in user model
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-k committed Nov 29, 2023
1 parent 222ea0e commit 5a3dafb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/enlyze/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class Quantity:
"""Representation of a physical quantity"""

#: Physical unit of quantity
unit: str
unit: str | None

#: The quantity expressed in `unit`
value: float
Expand Down

0 comments on commit 5a3dafb

Please sign in to comment.