thingsboard-python-rest-client icon indicating copy to clipboard operation
thingsboard-python-rest-client copied to clipboard

alarm_notification_rule_trigger_config is orphaned and can't be imported

Open timo opened this issue 1 year ago • 0 comments

>>> import tb_rest_client.models.models_pe.alarm_notification_rule_trigger_config
ModuleNotFoundError: No module named 'tb_rest_client.models.models_pe.notification_rule_trigger_config'

>>> import tb_rest_client.models.models_pe
>>> import pathlib
>>> (pathlib.Path(tb_rest_client.models.models_pe.__path__[0]) / "alarm_notification_rule_trigger_config.py").is_file()
True

it's simply missing a from .alarm_notification_rule_trigger_config import AlarmNotificationRuleTrigger in the init.py of models_ce and models_pe

timo avatar Mar 07 '24 20:03 timo