-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hello,
Thanks for this library. I want to access to the Annotation parameters inside the use function of a CustomField subclass.
class Custom(CustomField):
param_name: str
def use(self, /, *, **kwargs: Dict[str, Any]) -> Dict[str, Any]:
self.param_type # Here I want access to the parameter type
...Where my function is:
def func(a: int, b: Annotated[str | None, Custom()]):
....Is it possible ?
Thanks!
tbrugere-nrjx
Metadata
Metadata
Assignees
Labels
No labels