@ -34,7 +34,7 @@ class ApiCallWithPriceResultsPage:
|
||||
@classmethod
|
||||
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
||||
d = src_dict.copy()
|
||||
items = d.pop("items", UNSET)
|
||||
items = cast(List[ApiCallWithPrice], d.pop("items", UNSET))
|
||||
|
||||
next_page = d.pop("next_page", UNSET)
|
||||
|
||||
|
@ -34,7 +34,7 @@ class ApiTokenResultsPage:
|
||||
@classmethod
|
||||
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
||||
d = src_dict.copy()
|
||||
items = d.pop("items", UNSET)
|
||||
items = cast(List[ApiToken], d.pop("items", UNSET))
|
||||
|
||||
next_page = d.pop("next_page", UNSET)
|
||||
|
||||
|
@ -34,7 +34,7 @@ class ExtendedUserResultsPage:
|
||||
@classmethod
|
||||
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
||||
d = src_dict.copy()
|
||||
items = d.pop("items", UNSET)
|
||||
items = cast(List[ExtendedUser], d.pop("items", UNSET))
|
||||
|
||||
next_page = d.pop("next_page", UNSET)
|
||||
|
||||
|
@ -34,7 +34,7 @@ class FileConversionResultsPage:
|
||||
@classmethod
|
||||
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
||||
d = src_dict.copy()
|
||||
items = d.pop("items", UNSET)
|
||||
items = cast(List[FileConversion], d.pop("items", UNSET))
|
||||
|
||||
next_page = d.pop("next_page", UNSET)
|
||||
|
||||
|
@ -34,7 +34,7 @@ class UserResultsPage:
|
||||
@classmethod
|
||||
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
||||
d = src_dict.copy()
|
||||
items = d.pop("items", UNSET)
|
||||
items = cast(List[User], d.pop("items", UNSET))
|
||||
|
||||
next_page = d.pop("next_page", UNSET)
|
||||
|
||||
|
Reference in New Issue
Block a user