Skip to content

Commit

Permalink
Fix doc issues (Azure#38204)
Browse files Browse the repository at this point in the history
  • Loading branch information
YalinLi0312 authored and allenkim0129 committed Nov 5, 2024
1 parent 3f3ab5e commit 83dfe39
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,18 @@
class AzureAppConfigurationClient:
"""Represents a client that calls restful API of Azure App Configuration service.
:param str base_url: Base url of the service.
:param credential: An object which can provide secrets for the app configuration service
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:keyword api_version: Api Version. Default value is "2023-11-01". Note that overriding this default
value may result in unsupported behavior.
:paramtype api_version: str
:param str base_url: Base url of the service.
:param credential: An object which can provide secrets for the app configuration service
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:keyword api_version: Api Version. Default value is "2023-11-01". Note that overriding this default
value may result in unsupported behavior.
:paramtype api_version: str
This is the async version of :class:`~azure.appconfiguration.AzureAppConfigurationClient`
"""

# pylint:disable=protected-access

def __init__(self, base_url: str, credential: AsyncTokenCredential, **kwargs: Any) -> None:
try:
if not base_url.lower().startswith("http"):
Expand Down Expand Up @@ -642,7 +641,7 @@ def list_labels(
Available fields see :class:`~azure.appconfiguration.LabelFields`.
:paramtype fields: list[str] or list[~azure.appconfiguration.LabelFields] or None
:return: An async iterator of labels.
:rtype: ~azure.core.paging.AsyncItemPaged[~azure.appconfiguration.ConfigurationSettingLabel]
:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.appconfiguration.ConfigurationSettingLabel]
:raises: :class:`~azure.core.exceptions.HttpResponseError`
"""
if isinstance(accept_datetime, datetime):
Expand Down

0 comments on commit 83dfe39

Please sign in to comment.