Skip to content

Commit

Permalink
Fix NameError when importing arro3.core.types (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
3ok authored Oct 2, 2024
1 parent d49efd3 commit 78965ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arro3-core/python/arro3/core/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __buffer__(self, flags: int) -> memoryview: ...


# Numpy arrays don't yet declare `__buffer__` (or maybe just on a very recent version)
ArrayInput = Union[ArrowArrayExportable, BufferProtocolExportable, np.ndarray]
ArrayInput = Union[ArrowArrayExportable, BufferProtocolExportable, "np.ndarray"]
"""Accepted input as an Arrow array.
Buffer protocol input (such as numpy arrays) will be interpreted zero-copy except in the
Expand Down

0 comments on commit 78965ab

Please sign in to comment.