Update api spec (#107)

* 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-07-07 19:22:51 -07:00
committed by GitHub
parent fd52b906c4
commit f5da088b67
95 changed files with 1386 additions and 189 deletions

View File

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