File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 2424from dataclasses_json import DataClassJsonMixin , dataclass_json
2525from flyteidl .core import literals_pb2
2626from 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
2828from google .protobuf import struct_pb2 as _struct
2929from google .protobuf .json_format import MessageToDict as _MessageToDict
3030from 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
17711770def _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
You can’t perform that action at this time.
0 commit comments