dang it darglint
This commit is contained in:
parent
6e6a306342
commit
89ea0de4c5
@ -2103,6 +2103,10 @@ def dynamic(func: Callable[[T], Component]):
|
||||
|
||||
Returns:
|
||||
The dynamically generated component.
|
||||
|
||||
Raises:
|
||||
ValueError: If the function does not have exactly one parameter.
|
||||
ValueError: If the function does not have a type hint for the state class.
|
||||
"""
|
||||
number_of_parameters = len(inspect.signature(func).parameters)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user