now scanning model difinietons and updating db entries

This commit is contained in:
2019-08-08 16:38:15 +02:00
parent 123eb65f8e
commit c0e56cf40d
12 changed files with 263 additions and 175 deletions

View File

@@ -5,8 +5,6 @@ import telnetlib
from abc import ABC, abstractmethod
# monkey patching of telnet lib
from pprint import pprint
original_read_until = telnetlib.Telnet.read_until
original_write = telnetlib.Telnet.write
@@ -131,8 +129,4 @@ def get_defined_recorder_adapters():
commands[method_name] = parameters
rec_model["commands"] = commands
models.append(rec_model)
pprint(models)
return models
get_defined_recorder_adapters()