Skip to content
Snippets Groups Projects
Commit 09feac2e authored by Krzysztof Mochocki's avatar Krzysztof Mochocki
Browse files

Fix typing by adding list of Precofigured models

parent 2f1ed501
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ from pydantic.generics import GenericModel
from schemas.__private.preconfigured_base_model import PreconfiguredBaseModel
T = TypeVar("T", bound=PreconfiguredBaseModel)
T = TypeVar("T", bound=PreconfiguredBaseModel | list[PreconfiguredBaseModel])
class HiveError(GenericModel, Generic[T]):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment