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

@ -5,7 +5,7 @@ import attr
from ..models.axis_direction_pair import AxisDirectionPair
from ..types import UNSET, Unset
BH = TypeVar("BH", bound="System")
SX = TypeVar("SX", bound="System")
@attr.s(auto_attribs=True)
@ -41,7 +41,7 @@ class System:
return field_dict
@classmethod
def from_dict(cls: Type[BH], src_dict: Dict[str, Any]) -> BH:
def from_dict(cls: Type[SX], src_dict: Dict[str, Any]) -> SX:
d = src_dict.copy()
_forward = d.pop("forward", UNSET)
forward: Union[Unset, AxisDirectionPair]