Skip to content

Commit

Permalink
Make Specification.trim_level optional (#52)
Browse files Browse the repository at this point in the history
Fixes #48
  • Loading branch information
dvx76 authored Sep 28, 2024
1 parent 8e608bc commit 9892561
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions myskoda/models/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,11 @@ class Specification(DataClassORJSONMixin):
model_year: str = field(metadata=field_options(alias="modelYear"))
system_code: str = field(metadata=field_options(alias="systemCode"))
system_model_id: str = field(metadata=field_options(alias="systemModelId"))
trim_level: str = field(metadata=field_options(alias="trimLevel"))
battery: Battery | None = field(default=None)
max_charging_power: int | None = field(
default=None, metadata=field_options(alias="maxChargingPowerInKW")
)
battery: Battery | None = field(default=None)
trim_level: str | None = field(default=None, metadata=field_options(alias="trimLevel"))


@dataclass
Expand Down

0 comments on commit 9892561

Please sign in to comment.