Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2022-04-06 23:06:10 -07:00
parent 9e96dffb3c
commit f28df119ed
6 changed files with 6 additions and 6 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)