Skip to content

Commit

Permalink
Lint 3 (#19073)
Browse files Browse the repository at this point in the history
* lint 2

* lint-3
  • Loading branch information
Rakshith Bhyravabhotla authored Jun 3, 2021
1 parent 4cbb4a1 commit 64175a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from ._generated.models import (
Column as InternalColumn,
QueryBody as InternalQueryBody,
BatchResponse as InternalBatchResponse,
LogQueryRequest as InternalLogQueryRequest,
MetricNamespace as InternalMetricNamespace,
ErrorDetails as InternalErrorDetails
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@

from typing import Any, Union, Sequence, Dict
from azure.core.exceptions import HttpResponseError
from azure.core.credentials import TokenCredential

from azure.core.credentials_async import AsyncTokenCredential

from .._generated.aio._monitor_query_client import MonitorQueryClient

Expand All @@ -21,12 +20,12 @@ class LogsClient(object):
"""LogsClient
:param credential: The credential to authenticate the client
:type credential: ~azure.core.credentials.TokenCredential
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:keyword endpoint: The endpoint to connect to. Defaults to 'https://api.loganalytics.io/v1'.
:paramtype endpoint: str
"""

def __init__(self, credential: TokenCredential, **kwargs: Any) -> None:
def __init__(self, credential: AsyncTokenCredential, **kwargs: Any) -> None:
self._endpoint = kwargs.pop('endpoint', 'https://api.loganalytics.io/v1')
self._client = MonitorQueryClient(
credential=credential,
Expand Down

0 comments on commit 64175a1

Please sign in to comment.