inputs: properly mark name as a property

It was meant to be a property not a function.
This commit is contained in:
Christian Kellner 2021-01-21 18:09:09 +00:00
parent c6432d0adb
commit 9f4861e58f

View file

@ -37,6 +37,7 @@ class Input:
self.info = info
self.options = options or {}
@property
def name(self) -> str:
return self.info.name