Skip to content

Commit 2464b57

Browse files
committed
Refactor _BusinessHost class to include input_serialzer_param decorator
1 parent 7f1e888 commit 2464b57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/grongier/pex/_business_process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def on_complete(self, request, response):
6767
"""
6868
return self.OnComplete(request, response)
6969

70-
@_BusinessHost.input_serialzer
70+
@_BusinessHost.input_serialzer_param(0,'response')
7171
def reply(self, response):
7272
""" Send the specified response to the production component that sent the initial request to the business process.
7373

src/grongier/pex/_private_session_duplex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def on_process_input(self, message_input):
5454
"""
5555
return
5656

57-
@_BusinessHost.input_serialzer
57+
@_BusinessHost.input_serialzer_param(0,'document')
5858
@_BusinessHost.output_deserialzer
5959
def send_document_to_process(self, document):
6060
""" Send the specified message to the target business process or business operation synchronously.

0 commit comments

Comments
 (0)