Skip to content

refactor: Use Mapping instead of dict in extract_argument_specs#13

Merged
rustyconover merged 2 commits into
mainfrom
fix/argument-spec-mapping
Jan 5, 2026
Merged

refactor: Use Mapping instead of dict in extract_argument_specs#13
rustyconover merged 2 commits into
mainfrom
fix/argument-spec-mapping

Conversation

@rustyconover

Copy link
Copy Markdown
Contributor

Summary

  • Changes arg_types parameter type from dict[str, pa.DataType] to Mapping[str, pa.DataType]
  • More flexible API that accepts any mapping type (dict, MappingProxyType, etc.)

Test plan

  • All existing tests pass
  • Type checks pass

Closes vgi-python-k7x

🤖 Generated with Claude Code

rustyconover and others added 2 commits January 5, 2026 12:03
Changes arg_types parameter type from dict[str, pa.DataType] to
Mapping[str, pa.DataType] for more flexibility, accepting any
mapping type.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rustyconover rustyconover merged commit b7771b6 into main Jan 5, 2026
0 of 16 checks passed
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