Skip to content

Commit ecea707

Browse files
committed
remove straggler reply_to methods in examples
1 parent 4e8bc17 commit ecea707

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/reply_to_transaction.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323

2424
# Once that's done, send a NotifyProjectCreate packet.
2525
# If nothing needs to be changed from the RequestProjectCreate packet,
26-
# you can use the packet's reply_to() method. This will create a packet that
26+
# you can use the packet's reply_packet() method. This will create a packet that
2727
# automatically has the proper type and a reference to the preceeding packet.
2828
# The AMIE service will extrapolate the needed information from the
2929
# RequestProjectCreate packet.
3030

31-
project_created = project_creation_request.reply_to()
31+
project_created = project_creation_request.reply_packet()
3232

3333
psc_client.send_packet(project_created)
3434

@@ -38,5 +38,5 @@
3838
transaction = client_too.get_transaction(transaction_id='12345')
3939
project_creation_request = transaction.packets[-1]
4040
# Do something...
41-
project_created = project_creation_request.reply_to()
41+
project_created = project_creation_request.reply_packet()
4242
client_too.send_packet(project_created)

0 commit comments

Comments
 (0)