Skip to content

Commit 50ab577

Browse files
committed
add missing grpc call
1 parent 32a57de commit 50ab577

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

temporalio/service.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,11 @@ def __init__(self, client: ServiceClient) -> None:
500500
wsv1.ListWorkflowExecutionsRequest,
501501
wsv1.ListWorkflowExecutionsResponse,
502502
)
503+
self.list_workers = client._new_call(
504+
"list_workers",
505+
wsv1.ListWorkersRequest,
506+
wsv1.ListWorkersResponse,
507+
)
503508
self.list_workflow_rules = client._new_call(
504509
"list_workflow_rules",
505510
wsv1.ListWorkflowRulesRequest,
@@ -550,6 +555,11 @@ def __init__(self, client: ServiceClient) -> None:
550555
wsv1.RecordActivityTaskHeartbeatByIdRequest,
551556
wsv1.RecordActivityTaskHeartbeatByIdResponse,
552557
)
558+
self.record_worker_heartbeat = client._new_call(
559+
"record_worker_heartbeat",
560+
wsv1.RecordWorkerHeartbeatRequest,
561+
wsv1.RecordWorkerHeartbeatResponse,
562+
)
553563
self.register_namespace = client._new_call(
554564
"register_namespace",
555565
wsv1.RegisterNamespaceRequest,

0 commit comments

Comments
 (0)