diff --git a/vizro-core/src/vizro/models/_action/_action.py b/vizro-core/src/vizro/models/_action/_action.py index 6d1dba2d0..781f1fa62 100644 --- a/vizro-core/src/vizro/models/_action/_action.py +++ b/vizro-core/src/vizro/models/_action/_action.py @@ -4,7 +4,7 @@ import logging from collections.abc import Collection, Mapping from pprint import pformat -from typing import TYPE_CHECKING, Any, TypedDict, Union, Callable, Annotated, TypeVar +from typing import TYPE_CHECKING, Any, Callable, TypedDict, TypeVar, Union from dash import Input, Output, State, callback, html from dash.development.base_component import Component @@ -15,7 +15,7 @@ try: from pydantic.v1 import Field, validator except ImportError: # pragma: no cov - from pydantic import Field, ConfigDict + from pydantic import Field from collections.abc import Iterable from typing import cast