sow-and-subscribe-oof
Import the AMPS library:
import AMPS
Construct the command:
cmd = AMPS.Command(AMPS.Message.Command.SOWAndSubscribe)
opts = AMPS.Message.Options()
opts.set_OOF()
# set the topic on the command
cmd.set_topic(topic)
The command can now be used in execute or execute_async.