Update api spec (#157)

* 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-10-12 09:02:59 -07:00
committed by GitHub
parent 4120a139cd
commit 036965255a
77 changed files with 11218 additions and 10784 deletions

View File

@ -5,7 +5,7 @@ import attr
from ..models.unit_area import UnitArea
from ..types import UNSET, Unset
FA = TypeVar("FA", bound="SurfaceArea")
RY = TypeVar("RY", bound="SurfaceArea")
@attr.s(auto_attribs=True)
class SurfaceArea:
@ -31,7 +31,7 @@ class SurfaceArea:
return field_dict
@classmethod
def from_dict(cls: Type[FA], src_dict: Dict[str, Any]) -> FA:
def from_dict(cls: Type[RY], src_dict: Dict[str, Any]) -> RY:
d = src_dict.copy()
_output_unit = d.pop("output_unit", UNSET)
output_unit: Union[Unset, UnitArea]