Skip to content

Commit 6b8d7c8

Browse files
committed
Refactor DaprWorkflowClientAsync to DaprWorkflowClient for consistency
Signed-off-by: Patrick Assuied <[email protected]>
1 parent 7109816 commit 6b8d7c8

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
# -*- coding: utf-8 -*-
22

3-
from .dapr_workflow_client import DaprWorkflowClientAsync
4-
5-
# Public alias to mirror sync naming under aio namespace
6-
DaprWorkflowClient = DaprWorkflowClientAsync
3+
from .dapr_workflow_client import DaprWorkflowClient
74

85
__all__ = [
9-
'DaprWorkflowClientAsync',
106
'DaprWorkflowClient',
117
]

ext/dapr-ext-workflow/dapr/ext/workflow/aio/dapr_workflow_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
TOutput = TypeVar('TOutput')
3737

3838

39-
class DaprWorkflowClientAsync:
39+
class DaprWorkflowClient:
4040
"""Async client for managing Dapr Workflow instances.
4141
4242
This uses a gRPC async connection to send commands directly to the workflow engine,
@@ -56,7 +56,7 @@ def __init__(
5656
except ValueError as error:
5757
raise DaprInternalError(f'{error}') from error
5858

59-
self._logger = Logger('DaprWorkflowClientAsync', logger_options)
59+
self._logger = Logger('DaprWorkflowClient', logger_options)
6060

6161
metadata = tuple()
6262
if settings.DAPR_API_TOKEN:

0 commit comments

Comments
 (0)