Skip to content

Commit

Permalink
keep elif meta is not None
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasdavis committed Nov 1, 2023
1 parent 0e76a43 commit 5eb50b9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/dask_awkward/lib/io/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,9 +583,10 @@ def from_map(
io_func = func
array_meta = cast(ImplementsMocking, func).mock()
# # If we know the meta, we can spoof mocking
# elif meta is not None:
# io_func = IOFunctionWithMocking(meta, func)
# array_meta = meta
elif meta is not None:
# io_func = IOFunctionWithMocking(meta, func)
io_func = func
array_meta = meta
# # Without `meta`, the meta will be computed by executing the graph
else:
io_func = func
Expand Down

0 comments on commit 5eb50b9

Please sign in to comment.