OpenMTC/doc/training/onem2m-examples/onem2m-example-3.py
2017-11-07 14:41:38 +01:00

9 lines
168 B
Python

# Example 3: Retrieve OneM2MRequest
from openmtc_onem2m.transport import OneM2MRequest
request = OneM2MRequest("retrieve", to="onem2m")
print request.to
#>>> onem2m