Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown type for name Zip warning #123

Open
masonproffitt opened this issue Jun 2, 2023 · 1 comment
Open

Unknown type for name Zip warning #123

masonproffitt opened this issue Jun 2, 2023 · 1 comment
Assignees

Comments

@masonproffitt
Copy link
Member

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:

logging.getLogger(__name__).warning(f"Unknown type for name {node.id}")

@gordonwatts gordonwatts self-assigned this Jun 6, 2023
@gordonwatts
Copy link
Member

Ah - interesting! This must be some edge case - it is supposed to assume Any when it can't determine anything about the types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants