kavita_client.api.library.get_api_library_name_exists¶
Module Contents¶
Functions¶
Checks if the library name exists or not |
|
Checks if the library name exists or not |
|
Checks if the library name exists or not |
|
Checks if the library name exists or not |
API¶
- async kavita_client.api.library.get_api_library_name_exists.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, name: str | kavita_client.types.Unset = UNSET) bool | None¶
Checks if the library name exists or not
- Args:
name (str | Unset):
- Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
- Returns:
bool
- async kavita_client.api.library.get_api_library_name_exists.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, name: str | kavita_client.types.Unset = UNSET) kavita_client.types.Response[bool]¶
Checks if the library name exists or not
- Args:
name (str | Unset):
- Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
- Returns:
Response[bool]
- kavita_client.api.library.get_api_library_name_exists.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, name: str | kavita_client.types.Unset = UNSET) bool | None¶
Checks if the library name exists or not
- Args:
name (str | Unset):
- Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
- Returns:
bool
- kavita_client.api.library.get_api_library_name_exists.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, name: str | kavita_client.types.Unset = UNSET) kavita_client.types.Response[bool]¶
Checks if the library name exists or not
- Args:
name (str | Unset):
- Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
- Returns:
Response[bool]