Add missing required property to Parameter

This commit is contained in:
Pıεяяε 2022-08-15 20:24:16 +02:00 committed by GitHub
parent 490974a620
commit 4182496713
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -512,6 +512,10 @@ class Parameter:
def display_name(self) -> str:
return self.__parent.display_name
@property
def required(self) -> bool:
return self.__parent.required
@property
def description(self) -> str:
return str(self.__parent.description)