Skip to content

Commit b9da3ad

Browse files
committed
feat: ensure taskhubgrpcclient expose .close() method for clients to pass down a close call to durabletask
Signed-off-by: Casper Nielsen <casper@diagrid.io>
1 parent 6ebee61 commit b9da3ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,3 +277,7 @@ def purge_workflow(self, instance_id: str, recursive: bool = True):
277277
recursive: The optional flag to also purge data from all child workflows.
278278
"""
279279
return self.__obj.purge_orchestration(instance_id, recursive)
280+
281+
def close(self):
282+
"""Closes the gRPC connection used by the client."""
283+
return self.__obj.close()

0 commit comments

Comments
 (0)