Skip to content

Commit

Permalink
Merge pull request #151 from junzis/quantities
Browse files Browse the repository at this point in the history
Some annotations for physical quantities
  • Loading branch information
junzis authored Aug 25, 2024
2 parents 8acbdf1 + b1f8f6e commit 08218f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyModeS/decoder/flarm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import TypedDict
from typing_extensions import Annotated

from .decode import flarm as flarm_decode

Expand All @@ -10,8 +11,8 @@ class DecodedMessage(TypedDict):
icao24: str
latitude: float
longitude: float
altitude: int
vertical_speed: float
altitude: Annotated[int, "m"]
vertical_speed: Annotated[float, "m/s"]
groundspeed: int
track: int
type: str
Expand Down

0 comments on commit 08218f5

Please sign in to comment.