Skip to content

Add PYTHON_TO_ARROW type mapping to vgi/arguments.py#18

Merged
rustyconover merged 3 commits into
mainfrom
feature/python-to-arrow-mapping
Jan 5, 2026
Merged

Add PYTHON_TO_ARROW type mapping to vgi/arguments.py#18
rustyconover merged 3 commits into
mainfrom
feature/python-to-arrow-mapping

Conversation

@rustyconover

Copy link
Copy Markdown
Contributor

Summary

  • Adds PYTHON_TO_ARROW dictionary mapping Python types to PyArrow types
  • Maps: intpa.int64(), strpa.utf8(), floatpa.float64(), boolpa.bool_(), bytespa.binary()
  • Exports in __all__ for public use

This unblocks the dependent issues for updating extract_argument_specs() and adding arrow_type parameter to Arg.

Test plan

  • All 655 existing tests pass
  • Ruff linting passes
  • mypy type checking passes

🤖 Generated with Claude Code

rustyconover and others added 2 commits January 5, 2026 15:48
Add a dictionary mapping Python types to PyArrow types for use in
argument type inference. This mapping is exported in __all__.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rustyconover rustyconover merged commit 39b3454 into main Jan 5, 2026
0 of 16 checks passed
@rustyconover rustyconover deleted the feature/python-to-arrow-mapping branch January 5, 2026 21:08
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

Successfully merging this pull request may close these issues.

1 participant