* 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

@ -5,7 +5,7 @@ import attr
from ..models.axis_direction_pair import AxisDirectionPair
from ..types import UNSET, Unset
V = TypeVar("V", bound="System")
EL = TypeVar("EL", bound="System")
@attr.s(auto_attribs=True)
@ -16,7 +16,8 @@ class System:
See [cglearn.eu] for background reading.
[cglearn.eu](https://cglearn.eu/pub/computer-graphics/introduction-to-geometry#material-coordinate-systems-1)""" # noqa: E501
[cglearn.eu](https://cglearn.eu/pub/computer-graphics/introduction-to-geometry#material-coordinate-systems-1)
""" # noqa: E501
forward: Union[Unset, AxisDirectionPair] = UNSET
up: Union[Unset, AxisDirectionPair] = UNSET
@ -40,21 +41,21 @@ class System:
return field_dict
@classmethod
def from_dict(cls: Type[V], src_dict: Dict[str, Any]) -> V:
def from_dict(cls: Type[EL], src_dict: Dict[str, Any]) -> EL:
d = src_dict.copy()
_forward = d.pop("forward", UNSET)
forward: Union[Unset, AxisDirectionPair]
if isinstance(_forward, Unset):
forward = UNSET
else:
forward = AxisDirectionPair(_forward)
forward = _forward # type: ignore[arg-type]
_up = d.pop("up", UNSET)
up: Union[Unset, AxisDirectionPair]
if isinstance(_up, Unset):
up = UNSET
else:
up = AxisDirectionPair(_up)
up = _up # type: ignore[arg-type]
system = cls(
forward=forward,