Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from typing import Any
from azure.core.credentials import AzureKeyCredential
from azure.core.pipeline.policies import AzureKeyCredentialPolicy
from ._policies_async import AsyncTextAnalyticsResponseHookPolicy
from .._policies import TextAnalyticsResponseHookPolicy
from .._user_agent import USER_AGENT
from .._multiapi import load_generated_api

Expand Down Expand Up @@ -34,11 +34,10 @@ def __init__(self, endpoint, credential, **kwargs):
credential=credential,
sdk_moniker=USER_AGENT,
authentication_policy=_authentication_policy(credential),
custom_hook_policy=AsyncTextAnalyticsResponseHookPolicy(**kwargs),
custom_hook_policy=TextAnalyticsResponseHookPolicy(**kwargs),
**kwargs
)


async def __aenter__(self) -> "AsyncTextAnalyticsClientBase":
await self._client.__aenter__()
return self
Expand Down

This file was deleted.