Commit d39a56d8 authored by vruge's avatar vruge Committed by oroulet

Reconciliator: added function definitions

- help for type check
- highlight function arguments types

Closes #885
parent 8afc95dd
......@@ -438,3 +438,20 @@ class Reconciliator:
for a in inspect.getmembers(self):
if not a[0].startswith("__") and not inspect.ismethod(a[1]):
_logger.debug(a)
def hook_mi_request(self, url: str, sub_name: str, nodes: Set[SortedDict], action: Method):
"""placeholder for easily superclass the HaClient and implement custom logic
"""
def hook_add_to_map_error(self, url: str, action: Method, fut: asyncio.Task, **kwargs):
"""placeholder for easily superclass the HaClient and implement custom logic
"""
def hook_add_to_map(self, fut: asyncio.Task, url: str, action: Method, **kwargs):
"""placeholder for easily superclass the HaClient and implement custom logic
"""
def hook_del_from_map(self, fut: asyncio.Task, url: str, **kwargs):
"""placeholder for easily superclass the HaClient and implement custom logic
"""
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment