Skip to content

Commit

Permalink
Add default values to Vehicle class
Browse files Browse the repository at this point in the history
  • Loading branch information
Prior99 committed Sep 23, 2024
1 parent fa87f97 commit dd059d0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions myskoda/vehicle.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@

class Vehicle:
info: Info
charging: Charging | None
status: Status | None
air_conditioning: AirConditioning | None
positions: Positions | None
driving_range: DrivingRange | None
trip_statistics: TripStatistics | None
charging: Charging | None = None
status: Status | None = None
air_conditioning: AirConditioning | None = None
positions: Positions | None = None
driving_range: DrivingRange | None = None
trip_statistics: TripStatistics | None = None
maintenance: Maintenance
health: Health | None
health: Health | None = None

def __init__(self, info: Info, maintenance: Maintenance) -> None: # noqa: D107
self.info = info
Expand Down

0 comments on commit dd059d0

Please sign in to comment.