File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818
1919async def execute_workflow (workflow_cls : Type [Any ], input : Any ) -> None :
20- client = await Client .connect ("localhost:7233" , namespace = "my-caller-namespace" )
20+ client = await Client .connect ("localhost:7233" , namespace = "my-caller-namespace-python " )
2121 task_queue = "my-caller-task-queue"
2222
2323 async with Worker (
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class CallerWorkflowBase:
1818 def __init__ (self ):
1919 self .nexus_client = NexusClient (
2020 MyNexusService , # or string name "my-nexus-service",
21- "my-nexus-endpoint-name" ,
21+ "my-nexus-endpoint-name-python " ,
2222 schedule_to_close_timeout = timedelta (seconds = 30 ),
2323 )
2424
Original file line number Diff line number Diff line change 1- temporal-delete-all my-target-namespace
2- temporal-delete-all my-caller-namespace
1+ temporal-delete-all my-target-namespace-python
2+ temporal-delete-all my-caller-namespace-python
33
4- temporal operator namespace create --namespace my-target-namespace
5- temporal operator namespace create --namespace my-caller-namespace
4+ temporal operator namespace create --namespace my-target-namespace-python
5+ temporal operator namespace create --namespace my-caller-namespace-python
66
77sleep 1
88
99temporal operator nexus endpoint create \
10- --name my-nexus-endpoint-name \
11- --target-namespace my-target-namespace \
12- --target-task-queue my-target-task-queue \
10+ --name my-nexus-endpoint-name-python \
11+ --target-namespace my-target-namespace-python \
12+ --target-task-queue my-target-task-queue-python \
1313 --description-file ./hello_nexus/service/description.md
1414
Original file line number Diff line number Diff line change 1111
1212
1313async def main ():
14- client = await Client .connect ("localhost:7233" , namespace = "my-target-namespace" )
15- task_queue = "my-target-task-queue"
14+ client = await Client .connect ("localhost:7233" , namespace = "my-target-namespace-python " )
15+ task_queue = "my-target-task-queue-python "
1616
1717 async with Worker (
1818 client ,
You can’t perform that action at this time.
0 commit comments