Update api spec (#159)
* 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:
@ -6,7 +6,7 @@ from dateutil.parser import isoparse
|
||||
|
||||
from ..types import UNSET, Unset
|
||||
|
||||
OA = TypeVar("OA", bound="User")
|
||||
AS = TypeVar("AS", bound="User")
|
||||
|
||||
@attr.s(auto_attribs=True)
|
||||
class User:
|
||||
@ -81,7 +81,7 @@ class User:
|
||||
return field_dict
|
||||
|
||||
@classmethod
|
||||
def from_dict(cls: Type[OA], src_dict: Dict[str, Any]) -> OA:
|
||||
def from_dict(cls: Type[AS], src_dict: Dict[str, Any]) -> AS:
|
||||
d = src_dict.copy()
|
||||
company = d.pop("company", UNSET)
|
||||
|
||||
|
Reference in New Issue
Block a user