Update api spec (#107)
* 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:
@ -4,7 +4,7 @@ import attr
|
||||
|
||||
from ..types import UNSET, Unset
|
||||
|
||||
P = TypeVar("P", bound="ModelingCmdReqBatch")
|
||||
R = TypeVar("R", bound="ModelingCmdReqBatch")
|
||||
|
||||
|
||||
@attr.s(auto_attribs=True)
|
||||
@ -31,7 +31,7 @@ class ModelingCmdReqBatch:
|
||||
return field_dict
|
||||
|
||||
@classmethod
|
||||
def from_dict(cls: Type[P], src_dict: Dict[str, Any]) -> P:
|
||||
def from_dict(cls: Type[R], src_dict: Dict[str, Any]) -> R:
|
||||
d = src_dict.copy()
|
||||
cmds = d.pop("cmds", UNSET)
|
||||
file_id = d.pop("file_id", UNSET)
|
||||
|
Reference in New Issue
Block a user