inputs: properly mark name as a property
It was meant to be a property not a function.
This commit is contained in:
parent
c6432d0adb
commit
9f4861e58f
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ class Input:
|
|||
self.info = info
|
||||
self.options = options or {}
|
||||
|
||||
@property
|
||||
def name(self) -> str:
|
||||
return self.info.name
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue