Update api spec (#299)
* 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:
committed by
GitHub
parent
75827098b2
commit
3799b7eefe
@ -5,11 +5,12 @@ import httpx
|
||||
from ...client import Client
|
||||
from ...models.error import Error
|
||||
from ...models.user import User
|
||||
from ...models.user_identifier import UserIdentifier
|
||||
from ...types import Response
|
||||
|
||||
|
||||
def _get_kwargs(
|
||||
id: str,
|
||||
id: UserIdentifier,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
@ -54,7 +55,7 @@ def _build_response(
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
id: str,
|
||||
id: UserIdentifier,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Optional[Union[User, Error]]]:
|
||||
@ -72,7 +73,7 @@ def sync_detailed(
|
||||
|
||||
|
||||
def sync(
|
||||
id: str,
|
||||
id: UserIdentifier,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[User, Error]]:
|
||||
@ -89,7 +90,7 @@ def sync(
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
id: str,
|
||||
id: UserIdentifier,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Optional[Union[User, Error]]]:
|
||||
@ -105,7 +106,7 @@ async def asyncio_detailed(
|
||||
|
||||
|
||||
async def asyncio(
|
||||
id: str,
|
||||
id: UserIdentifier,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[User, Error]]:
|
||||
|
Reference in New Issue
Block a user