Update api spec (#132)

* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2023-08-30 18:30:23 -07:00
committed by GitHub
parent 816904419e
commit 63824cd04f
74 changed files with 819 additions and 717 deletions

View File

@ -9,7 +9,7 @@ from ..models.unit_force import UnitForce
from ..models.uuid import Uuid
from ..types import UNSET, Unset
WH = TypeVar("WH", bound="UnitForceConversion")
DQ = TypeVar("DQ", bound="UnitForceConversion")
@attr.s(auto_attribs=True)
@ -87,7 +87,7 @@ class UnitForceConversion:
return field_dict
@classmethod
def from_dict(cls: Type[WH], src_dict: Dict[str, Any]) -> WH:
def from_dict(cls: Type[DQ], src_dict: Dict[str, Any]) -> DQ:
d = src_dict.copy()
_completed_at = d.pop("completed_at", UNSET)
completed_at: Union[Unset, datetime.datetime]