Skip to content

Commit

Permalink
better solution
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 9, 2024
1 parent 9a4078e commit 6f90ff4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/user_guide/data_types_and_io/dataclass.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 6f90ff4

Please sign in to comment.