Skip to content

Commit 1f83d65

Browse files
committed
all optional
1 parent 1efc957 commit 1f83d65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

turn_by_turn/structures.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ class TbtData:
7676
"""
7777

7878
matrices: Sequence[DataType] # each entry corresponds to a bunch
79-
date: datetime = None # will default in post_init
80-
bunch_ids: list[int] = None # will default in post_init
81-
nturns: int = None
79+
date: datetime | None = None # will default in post_init
80+
bunch_ids: list[int] | None = None # will default in post_init
81+
nturns: int | None = None
8282
meta: dict | None = None
8383
nbunches: int = field(init=False)
8484

0 commit comments

Comments
 (0)