OpenMTC/doc/training/onem2m-examples/onem2m-example-4.py
2019-01-11 17:46:03 +01:00

9 lines
165 B
Python

# Example 4: Delete OneM2MRequest
from openmtc_onem2m.transport import OneM2MRequest
request = OneM2MRequest("delete", to="onem2m")
print(request.to)
#>>> onem2m