Open masonproffitt opened 1 year ago
Executing this code (in the func-adl-uproot repository):
from func_adl_uproot import UprootDataset ds = UprootDataset('tests/vectors_tree_file.root') ds.Select(lambda row: Zip([row.int_vector_branch, row.float_vector_branch]))
gives me Unknown type for name Zip, though the query still seems to work fine. It looks like it comes from this line:
Unknown type for name Zip
https://github.com/iris-hep/func_adl/blob/9be9f1825daab4375485ec26a91296b74e181e15/func_adl/type_based_replacement.py#L894
Ah - interesting! This must be some edge case - it is supposed to assume Any when it can't determine anything about the types.
Any
Executing this code (in the func-adl-uproot repository):
gives me
Unknown type for name Zip
, though the query still seems to work fine. It looks like it comes from this line:https://github.com/iris-hep/func_adl/blob/9be9f1825daab4375485ec26a91296b74e181e15/func_adl/type_based_replacement.py#L894