Skip to content

Commit

Permalink
Update docs/user_guide/data_types_and_io/dataclass.md
Browse files Browse the repository at this point in the history
Co-authored-by: Nikki Everett <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
  • Loading branch information
Future-Outlier and neverett authored Oct 9, 2024
1 parent fa4a0d7 commit 44d198f
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 @@ -15,7 +15,7 @@ to serialize and deserialize dataclasses.
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 below v1.10, you'll need to decorate with `@dataclass_json` using
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`.
`from dataclasses_json import dataclass_json`
:::

Expand Down

0 comments on commit 44d198f

Please sign in to comment.