We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1efc957 commit 1f83d65Copy full SHA for 1f83d65
turn_by_turn/structures.py
@@ -76,9 +76,9 @@ class TbtData:
76
"""
77
78
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
+ date: datetime | None = None # will default in post_init
+ bunch_ids: list[int] | None = None # will default in post_init
+ nturns: int | None = None
82
meta: dict | None = None
83
nbunches: int = field(init=False)
84
0 commit comments