* fix hyphens

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix hyphens

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* add a test as well

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix;

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2023-01-27 16:22:14 -08:00
committed by GitHub
parent 95f22c849d
commit 0403eddfd7
22 changed files with 242 additions and 119 deletions

View File

@ -7,11 +7,11 @@ from ...models.error import Error
from ...types import Response
def _get_kwargs(
callback_url: str,
email: str,
token: str,
*,
client: Client,
callback_url: Optional[str] = None,
) -> Dict[str, Any]:
url = "{}/auth/email/callback?callback_url={callback_url}&email={email}&token={token}".format(client.base_url, callback_url=callback_url, email=email, token=token)
@ -49,11 +49,11 @@ def _build_response(*, response: httpx.Response) -> Response[Union[Any, Error]]:
def sync_detailed(
callback_url: str,
email: str,
token: str,
*,
client: Client,
callback_url: Optional[str] = None,
) -> Response[Union[Any, Error]]:
kwargs = _get_kwargs(
callback_url=callback_url,
@ -71,11 +71,11 @@ def sync_detailed(
def sync(
callback_url: str,
email: str,
token: str,
*,
client: Client,
callback_url: Optional[str] = None,
) -> Optional[Union[Any, Error]]:
return sync_detailed(
@ -87,11 +87,11 @@ def sync(
async def asyncio_detailed(
callback_url: str,
email: str,
token: str,
*,
client: Client,
callback_url: Optional[str] = None,
) -> Response[Union[Any, Error]]:
kwargs = _get_kwargs(
callback_url=callback_url,
@ -107,11 +107,11 @@ async def asyncio_detailed(
async def asyncio(
callback_url: str,
email: str,
token: str,
*,
client: Client,
callback_url: Optional[str] = None,
) -> Optional[Union[Any, Error]]:
return (