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:
@ -5,7 +5,7 @@ import attr
|
||||
from ..models.modeling_outcome import ModelingOutcome
|
||||
from ..types import UNSET, Unset
|
||||
|
||||
NX = TypeVar("NX", bound="ModelingOutcomes")
|
||||
SC = TypeVar("SC", bound="ModelingOutcomes")
|
||||
|
||||
|
||||
@attr.s(auto_attribs=True)
|
||||
@ -35,7 +35,7 @@ class ModelingOutcomes:
|
||||
return field_dict
|
||||
|
||||
@classmethod
|
||||
def from_dict(cls: Type[NX], src_dict: Dict[str, Any]) -> NX:
|
||||
def from_dict(cls: Type[SC], src_dict: Dict[str, Any]) -> SC:
|
||||
d = src_dict.copy()
|
||||
_outcomes = d.pop("outcomes", UNSET)
|
||||
if isinstance(_outcomes, Unset):
|
||||
|
Reference in New Issue
Block a user