Skip to content

Commit a547276

Browse files
committed
RTU: syncio tree
1 parent da0eb60 commit a547276

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

tests/nexus/test_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
StartOperationContext,
4343
service_handler,
4444
sync_operation,
45-
syncio,
4645
)
4746
from nexusrpc.handler._decorators import operation_handler
47+
from nexusrpc.syncio.handler import sync_operation as syncio_sync_operation
4848

4949
from temporalio import nexus, workflow
5050
from temporalio.client import Client
@@ -870,7 +870,7 @@ class EchoService:
870870

871871
@service_handler(service=EchoService)
872872
class SyncStartHandler:
873-
@syncio.sync_operation
873+
@syncio_sync_operation
874874
def echo(self, ctx: StartOperationContext, input: Input) -> Output:
875875
assert ctx.headers["test-header-key"] == "test-header-value"
876876
ctx.outbound_links.extend(ctx.inbound_links)

uv.lock

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)