Some annotations for quantities
This commit is contained in:
parent
8e2051af68
commit
b1f8f6ed62
@ -1,4 +1,5 @@
|
||||
from typing import TypedDict
|
||||
from typing_extensions import Annotated
|
||||
|
||||
from .decode import flarm as flarm_decode
|
||||
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user