Lines Matching defs:str

22     def __init__(self, url: str):
57 def get(self, path: str):
65 …def put_raw(self, path: str, data: str | dict | None = None, headers: dict | None = None, params: …
70 def put(self, path: str, data: str | dict, uri_options: str = ''):
76 def post(self, path: str, data: str | dict | None = None):
89 def delete_raw(self, path: str):
94 def delete(self, endpoint: str, path: str):
98 def execute(self, endpoint: str, path: str):
102 def write(self, endpoint: str, path: str, value: bool | int | str):
111 def write_attributes(self, endpoint: str, path: str, attributes: dict):
118 def remove_attributes(self, endpoint: str, path: str, attributes: list):
126 def update_obj_instance(self, endpoint: str, path: str, resources: dict):
131 def replace_obj_instance(self, endpoint: str, path: str, resources: dict):
136 def create_obj_instance(self, endpoint: str, path: str, resources: dict):
174 def _define_obj_inst(cls, path: str, resources: dict):
209 def _decode_value(cls, val_type: str, value: str):
253 def read(self, endpoint: str, path: str):
320 def composite_read(self, endpoint: str, paths: list[str]):
327 def composite_write(self, endpoint: str, resources: dict):
365 def discover(self, endpoint: str, path: str):
372 def create_psk_device(self, endpoint: str, passwd: str):
376 def delete_device(self, endpoint: str):
379 def create_bs_device(self, endpoint: str, server_uri: str, bs_passwd: str, passwd: str):
388 def delete_bs_device(self, endpoint: str):
392 def observe(self, endpoint: str, path: str):
395 def cancel_observe(self, endpoint: str, path: str):
398 def passive_cancel_observe(self, endpoint: str, path: str):
401 def composite_observe(self, endpoint: str, paths: list[str]):
407 def cancel_composite_observe(self, endpoint: str, paths: list[str]):
411 def passive_cancel_composite_observe(self, endpoint: str, paths: list[str]):
416 def get_event_stream(self, endpoint: str, timeout: int = None):
445 def next_event(self, event: str):