Skip to content

Commit 318b912

Browse files
committed
test
Signed-off-by: Kevin Su <pingsutw@apache.org>
1 parent 61eac98 commit 318b912

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

flytekit/core/type_engine.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from dataclasses_json import DataClassJsonMixin, dataclass_json
2525
from flyteidl.core import literals_pb2
2626
from fsspec.asyn import _run_coros_in_chunks # pylint: disable=W0212
27-
from google.protobuf import json_format as _json_format, json_format
27+
from google.protobuf import json_format as _json_format
2828
from google.protobuf import struct_pb2 as _struct
2929
from google.protobuf.json_format import MessageToDict as _MessageToDict
3030
from google.protobuf.json_format import ParseDict as _ParseDict
@@ -1767,7 +1767,6 @@ def _type_essence(x: LiteralType) -> LiteralType:
17671767

17681768
return x
17691769

1770-
# UP: SD Down: SD
17711770
def _are_types_castable(upstream: LiteralType, downstream: LiteralType) -> bool:
17721771
if upstream.union_type is not None:
17731772
# for each upstream variant, there must be a compatible type downstream

0 commit comments

Comments
 (0)