Skip to content

Commit

Permalink
warning
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <[email protected]>
  • Loading branch information
Future-Outlier committed Oct 25, 2024
1 parent dfe8762 commit 7735352
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
from flytekit.loggers import logger

from .basemodel_transformer import BaseModelTransformer
from .deserialization import set_validators_on_supported_flyte_types as _set_validators_on_supported_flyte_types

_set_validators_on_supported_flyte_types() # enables you to use flytekit.types in pydantic model
logger.warning(
"The Flytekit Pydantic V1 plugin is deprecated.\n"
"Please uninstall `flytekitplugins-pydantic` and install Pydantic directly.\n"
"You can now use Pydantic V2 BaseModels in Flytekit tasks."
)

0 comments on commit 7735352

Please sign in to comment.