Skip to content

Commit

Permalink
fixing pylint issues for now (#24057)
Browse files Browse the repository at this point in the history
  • Loading branch information
l0lawrence authored Apr 18, 2022
1 parent 04e2270 commit c7a3c54
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from azure.core.paging import ItemPaged


class ChatClient(object):
class ChatClient(object): # pylint: disable=client-accepts-api-version-keyword
"""A client to interact with the AzureCommunicationService Chat gateway.
This client provides operations to create chat thread, delete chat thread,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
from azure.core.paging import ItemPaged


class ChatThreadClient(object):
class ChatThreadClient(object): # pylint: disable=client-accepts-api-version-keyword
"""A client to interact with the AzureCommunicationService Chat gateway.
Instances of this class is normally retrieved by ChatClient.get_chat_thread_client()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
from .._version import SDK_MONIKER


class ChatClient(object):
class ChatClient(object): # pylint: disable=client-accepts-api-version-keyword
"""A client to interact with the AzureCommunicationService Chat gateway.
This client provides operations to create chat thread, delete chat thread,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
from .._version import SDK_MONIKER


class ChatThreadClient(object):
class ChatThreadClient(object): # pylint: disable=client-accepts-api-version-keyword
"""A client to interact with the AzureCommunicationService Chat gateway.
Instances of this class is normally retrieved by ChatClient.get_chat_thread_client()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
# ------------------------------------

from enum import Enum
from azure.core import CaseInsensitiveEnumMeta


class ApiVersion(str, Enum):
# pylint: disable=enum-must-be-uppercase
class ApiVersion(str, Enum, metaclass=CaseInsensitiveEnumMeta):
V2021_03_07 = "2021-03-07"
V2021_10_31_preview = "2021-10-31-preview"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from ._generated.models import CommunicationTokenScope


class CommunicationIdentityClient(object):
class CommunicationIdentityClient(object): # pylint: disable=client-accepts-api-version-keyword
"""Azure Communication Services Identity client.
:param str endpoint:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from .._generated.models import CommunicationTokenScope


class CommunicationIdentityClient:
class CommunicationIdentityClient: # pylint: disable=client-accepts-api-version-keyword
"""Azure Communication Services Identity client.
:param str endpoint:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from azure.communication.identity import CommunicationUserIdentifier
from azure.communication.networktraversal import RouteType

class CommunicationRelayClient(object):
class CommunicationRelayClient(object): # pylint: disable=client-accepts-api-version-keyword
"""Azure Communication Services Relay client.
:param str endpoint:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from azure.communication.networktraversal import RouteType


class CommunicationRelayClient:
class CommunicationRelayClient: # pylint: disable=client-accepts-api-version-keyword
"""Azure Communication Services Network Traversal client.
:param str endpoint:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from ._generated.models import PhoneNumberSearchResult, PurchasedPhoneNumber, PhoneNumberCapabilities


class PhoneNumbersClient(object):
class PhoneNumbersClient(object): # pylint: disable=client-accepts-api-version-keyword
"""A client to interact with the AzureCommunicationService Phone Numbers gateway.
This client provides operations to interact with the phone numbers service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from azure.core.polling import AsyncLROPoller
from .._generated.models import PhoneNumberSearchResult, PurchasedPhoneNumber, PhoneNumberCapabilities

class PhoneNumbersClient(object):
class PhoneNumbersClient(object): # pylint: disable=client-accepts-api-version-keyword
"""A client to interact with the AzureCommunicationService Phone Numbers gateway.
This client provides operations to interact with the phone numbers service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from ._shared.utils import parse_connection_str, get_authentication_policy, get_current_utc_time
from ._version import SDK_MONIKER

class SmsClient(object):
class SmsClient(object): # pylint: disable=client-accepts-api-version-keyword
"""A client to interact with the AzureCommunicationService Sms gateway.
This client provides operations to send an SMS via a phone number.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from .._shared.utils import parse_connection_str, get_authentication_policy, get_current_utc_time
from .._version import SDK_MONIKER

class SmsClient(object):
class SmsClient(object): # pylint: disable=client-accepts-api-version-keyword
"""A client to interact with the AzureCommunicationService Sms gateway asynchronously.
This client provides operations to send an SMS via a phone number.
Expand Down

0 comments on commit c7a3c54

Please sign in to comment.