Skip to content

Commit b59c555

Browse files
authored
Add plugin to workflowenvironment (#1015)
1 parent 3777095 commit b59c555

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

temporalio/testing/_workflow.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ async def start_local(
7979
namespace: str = "default",
8080
data_converter: temporalio.converter.DataConverter = temporalio.converter.DataConverter.default,
8181
interceptors: Sequence[temporalio.client.Interceptor] = [],
82+
plugins: Sequence[temporalio.client.Plugin] = [],
8283
default_workflow_query_reject_condition: Optional[
8384
temporalio.common.QueryRejectCondition
8485
] = None,
@@ -213,6 +214,7 @@ async def start_local(
213214
namespace=namespace,
214215
data_converter=data_converter,
215216
interceptors=interceptors,
217+
plugins=plugins,
216218
default_workflow_query_reject_condition=default_workflow_query_reject_condition,
217219
tls=tls,
218220
retry_config=retry_config,
@@ -237,6 +239,7 @@ async def start_time_skipping(
237239
*,
238240
data_converter: temporalio.converter.DataConverter = temporalio.converter.DataConverter.default,
239241
interceptors: Sequence[temporalio.client.Interceptor] = [],
242+
plugins: Sequence[temporalio.client.Plugin] = [],
240243
default_workflow_query_reject_condition: Optional[
241244
temporalio.common.QueryRejectCondition
242245
] = None,
@@ -332,6 +335,7 @@ async def start_time_skipping(
332335
server.target,
333336
data_converter=data_converter,
334337
interceptors=interceptors,
338+
plugins=plugins,
335339
default_workflow_query_reject_condition=default_workflow_query_reject_condition,
336340
retry_config=retry_config,
337341
rpc_metadata=rpc_metadata,

0 commit comments

Comments
 (0)