dang it darglint

This commit is contained in:
Khaleel Al-Adhami 2024-10-17 14:54:29 -07:00
parent 6e6a306342
commit 89ea0de4c5

View File

@ -2103,6 +2103,10 @@ def dynamic(func: Callable[[T], Component]):
Returns: Returns:
The dynamically generated component. 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) number_of_parameters = len(inspect.signature(func).parameters)