* regenerate

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes and cleanup

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2023-07-31 12:50:30 -07:00
committed by GitHub
parent d678182dcf
commit 4c3f497d73
141 changed files with 1432 additions and 566 deletions

View File

@ -9,7 +9,7 @@ from ..models.unit_power import UnitPower
from ..models.uuid import Uuid
from ..types import UNSET, Unset
H = TypeVar("H", bound="UnitPowerConversion")
NO = TypeVar("NO", bound="UnitPowerConversion")
@attr.s(auto_attribs=True)
@ -87,7 +87,7 @@ class UnitPowerConversion:
return field_dict
@classmethod
def from_dict(cls: Type[H], src_dict: Dict[str, Any]) -> H:
def from_dict(cls: Type[NO], src_dict: Dict[str, Any]) -> NO:
d = src_dict.copy()
_completed_at = d.pop("completed_at", UNSET)
completed_at: Union[Unset, datetime.datetime]
@ -110,7 +110,7 @@ class UnitPowerConversion:
if isinstance(_id, Unset):
id = UNSET
else:
id = Uuid(_id)
id = _id # type: ignore[arg-type]
input = d.pop("input", UNSET)