Skip to content

Commit

Permalink
Make ball_speed optional
Browse files Browse the repository at this point in the history
  • Loading branch information
DriesDeprest committed Jun 30, 2023
1 parent 637fad9 commit e73e732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kloppy/domain/models/tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Frame(DataRecord):
players_data: Dict[Player, PlayerData]
other_data: Dict[str, Any]
ball_coordinates: Point3D
ball_speed: int
ball_speed: Optional[int] = None

@property
def record_id(self) -> int:
Expand Down

0 comments on commit e73e732

Please sign in to comment.