From d2eec01edd69eea39212608326ae648936a5a66c Mon Sep 17 00:00:00 2001 From: Lakshman Sundaralingam Date: Fri, 29 Jan 2021 16:19:23 -0800 Subject: [PATCH] Updated formatting for method documentation --- .../identity/_communication_identity_client.py | 4 ++-- .../identity/aio/_communication_identity_client_async.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/communication/azure-communication-identity/azure/communication/identity/_communication_identity_client.py b/sdk/communication/azure-communication-identity/azure/communication/identity/_communication_identity_client.py index cb598062cbd8..7572aff7e4c3 100644 --- a/sdk/communication/azure-communication-identity/azure/communication/identity/_communication_identity_client.py +++ b/sdk/communication/azure-communication-identity/azure/communication/identity/_communication_identity_client.py @@ -101,8 +101,8 @@ def create_user_with_token( List of scopes to be added to the token. :type scopes: list[str or ~azure.communication.identity.models.CommunicationTokenScope] :return: A tuple of a CommunicationUserIdentifier and a AccessToken. - :rtype: tuple of (~azure.communication.identity.CommunicationUserIdentifier, \ -~azure.core.credentials.AccessToken) + :rtype: + tuple of (~azure.communication.identity.CommunicationUserIdentifier, ~azure.core.credentials.AccessToken) """ return self._identity_service_client.communication_identity.create( cls=lambda pr, u, e: (CommunicationUserIdentifier(u.identity.id), diff --git a/sdk/communication/azure-communication-identity/azure/communication/identity/aio/_communication_identity_client_async.py b/sdk/communication/azure-communication-identity/azure/communication/identity/aio/_communication_identity_client_async.py index f5ce798d0ad8..c75d6d937c1a 100644 --- a/sdk/communication/azure-communication-identity/azure/communication/identity/aio/_communication_identity_client_async.py +++ b/sdk/communication/azure-communication-identity/azure/communication/identity/aio/_communication_identity_client_async.py @@ -102,8 +102,8 @@ async def create_user_with_token( List of scopes to be added to the token. :type scopes: list[str or ~azure.communication.identity.models.CommunicationTokenScope] :return: A tuple of a CommunicationUserIdentifier and a AccessToken. - :rtype: tuple of (~azure.communication.identity.CommunicationUserIdentifier, \ -~azure.core.credentials.AccessToken) + :rtype: + tuple of (~azure.communication.identity.CommunicationUserIdentifier, ~azure.core.credentials.AccessToken) """ return await self._identity_service_client.communication_identity.create( create_token_with_scopes=scopes, @@ -120,7 +120,7 @@ async def delete_user( # type: (...) -> None """Triggers revocation event for user and deletes all its data. - :param communication_user:\ + :param communication_user: Azure Communication User to delete :type communication_user: ~azure.communication.identity.CommunicationUserIdentifier :return: None