Skip to content

Commit 0c8371c

Browse files
author
mingsing
committed
format
Signed-off-by: mingsing <[email protected]>
1 parent 1077429 commit 0c8371c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

dapr/aio/clients/health.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
limitations under the License.
1414
"""
1515

16-
import aiohttp
1716
import asyncio
1817
import time
19-
from warnings import warn
18+
19+
import aiohttp
2020

2121
from dapr.clients.http.conf import DAPR_API_TOKEN_HEADER, DAPR_USER_AGENT, USER_AGENT_HEADER
2222
from dapr.clients.http.helpers import get_api_url

tests/clients/test_dapr_grpc_client_async_secure.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,15 @@
1414
"""
1515

1616
import unittest
17-
1817
from unittest.mock import patch
1918

2019
from dapr.aio.clients.grpc.client import DaprGrpcClientAsync
2120
from dapr.aio.clients.health import DaprHealth as DaprHealthAsync
21+
from dapr.conf import settings
2222
from tests.clients.certs import replacement_get_credentials_func, replacement_get_health_context
2323
from tests.clients.test_dapr_grpc_client_async import DaprGrpcClientAsyncTests
24-
from .fake_dapr_server import FakeDaprSidecar
25-
from dapr.conf import settings
2624

25+
from .fake_dapr_server import FakeDaprSidecar
2726

2827
DaprGrpcClientAsync.get_credentials = replacement_get_credentials_func
2928
DaprHealthAsync.get_ssl_context = replacement_get_health_context

0 commit comments

Comments
 (0)