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:
@ -4,7 +4,7 @@ import attr
|
||||
|
||||
from ..types import UNSET, Unset
|
||||
|
||||
HD = TypeVar("HD", bound="PathGetInfo")
|
||||
QT = TypeVar("QT", bound="PathGetInfo")
|
||||
|
||||
@attr.s(auto_attribs=True)
|
||||
class PathGetInfo:
|
||||
@ -29,7 +29,7 @@ class PathGetInfo:
|
||||
return field_dict
|
||||
|
||||
@classmethod
|
||||
def from_dict(cls: Type[HD], src_dict: Dict[str, Any]) -> HD:
|
||||
def from_dict(cls: Type[QT], src_dict: Dict[str, Any]) -> QT:
|
||||
d = src_dict.copy()
|
||||
from ..models.path_segment_info import PathSegmentInfo
|
||||
segments = cast(List[PathSegmentInfo], d.pop("segments", UNSET))
|
||||
|
Reference in New Issue
Block a user