From 6f90ff44d41eb72b525de02960805b9c34261e72 Mon Sep 17 00:00:00 2001 From: Future-Outlier Date: Thu, 10 Oct 2024 00:25:12 +0800 Subject: [PATCH] better solution Signed-off-by: Future-Outlier --- docs/user_guide/data_types_and_io/dataclass.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/user_guide/data_types_and_io/dataclass.md b/docs/user_guide/data_types_and_io/dataclass.md index 910b3e12cb..402ad5cdf0 100644 --- a/docs/user_guide/data_types_and_io/dataclass.md +++ b/docs/user_guide/data_types_and_io/dataclass.md @@ -12,10 +12,7 @@ Flytekit uses the [Mashumaro library](https://github.com/Fatal1ty/mashumaro) to serialize and deserialize dataclasses. :::{important} -If you're using Flytekit version below v1.11.1, your dataclass will need to decorate with `@dataclass_json` or -inherit from Mashumaro's `DataClassJSONMixin`. - -If you're using Flytekit version less than v1.10, you'll need to add `from dataclasses_json import dataclass_json` to your imports and decorate your dataclass with `@dataclass_json`. +If you're using Flytekit version below v1.11.1, your dataclass will need to add `from dataclasses_json import dataclass_json` and decorate with `@dataclass_json`. ::: ```{note}