mirror of
https://github.com/OpenMTC/OpenMTC.git
synced 2024-12-30 17:57:03 +00:00
9 lines
169 B
Python
9 lines
169 B
Python
# Example 3: Retrieve OneM2MRequest
|
|
|
|
from openmtc_onem2m.transport import OneM2MRequest
|
|
|
|
request = OneM2MRequest("retrieve", to="onem2m")
|
|
|
|
print(request.to)
|
|
#>>> onem2m
|