Update api spec (#125)

* 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-17 14:30:53 -07:00
committed by GitHub
parent 1e693890ef
commit f522911d7b
81 changed files with 404 additions and 315 deletions

View File

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