Skip to content

Commit

Permalink
Fix Dataclass Doc about (flyteorg#5533)
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Vladyslav Libov <[email protected]>
  • Loading branch information
Future-Outlier authored and VladyslavLibov committed Aug 16, 2024
1 parent fa07f37 commit 352be64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user_guide/data_types_and_io/dataclass.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ to serialize and deserialize dataclasses.

:::{important}
If you're using Flytekit version below v1.10, you'll need to decorate with `@dataclass_json` using
`from dataclass_json import dataclass_json` instead of inheriting from Mashumaro's `DataClassJSONMixin`.
`from dataclasses_json import dataclass_json` instead of inheriting from Mashumaro's `DataClassJSONMixin`.

If you're using Flytekit version >= v1.11.1, you don't need to decorate with `@dataclass_json` or
inherit from Mashumaro's `DataClassJSONMixin`.
Expand Down

0 comments on commit 352be64

Please sign in to comment.