Update api spec (#132)

* 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:
Jess Frazelle
2023-08-30 18:30:23 -07:00
committed by GitHub
parent 816904419e
commit 63824cd04f
74 changed files with 819 additions and 717 deletions

View File

@ -4,7 +4,7 @@ import attr
from ..types import UNSET, Unset
ZP = TypeVar("ZP", bound="MetaClusterInfo")
EO = TypeVar("EO", bound="MetaClusterInfo")
@attr.s(auto_attribs=True)
@ -35,7 +35,7 @@ class MetaClusterInfo:
return field_dict
@classmethod
def from_dict(cls: Type[ZP], src_dict: Dict[str, Any]) -> ZP:
def from_dict(cls: Type[EO], src_dict: Dict[str, Any]) -> EO:
d = src_dict.copy()
cluster_size = d.pop("cluster_size", UNSET)