auto/base: type hint metadata

This commit is contained in:
Iain Learmonth 2022-05-15 18:47:46 +01:00
parent f96bbcf49d
commit f7e83611f1

View file

@ -5,7 +5,10 @@ from app import app
class BaseAutomation: class BaseAutomation:
short_name = None short_name: str = "base"
description: str = "Abstract base automation."
frequency: int
""" """
The short name of the automation provider. This is used as an opaque token throughout The short name of the automation provider. This is used as an opaque token throughout
the portal system. the portal system.