Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: HH <hhcs9527@gmail.com>
  • Loading branch information
hhcs9527 committed Sep 1, 2023
1 parent 6d188fa commit c19bdc9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flytekit/core/type_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,8 @@ def to_literal(self, ctx: FlyteContext, python_val: T, python_type: Type[T], exp
type(python_val), DataClassJSONMixin
):
raise TypeTransformerFailedError(
f"Dataclass {python_type} should be decorated with @dataclass_json or inherit DataClassJSONMixin to be " f"serialized correctly"
f"Dataclass {python_type} should be decorated with @dataclass_json or inherit DataClassJSONMixin to be "
f"serialized correctly"
)
self._serialize_flyte_type(python_val, python_type)

Expand Down

0 comments on commit c19bdc9

Please sign in to comment.