Fix Dict[str, any] type annotation — lowercase any refers to builtin function #15

Closed
opened 2026-02-20 06:53:23 +00:00 by cal · 1 comment
Owner

pitchers/creation.py:311 and batters/creation.py:231Dict[str, any] references any() builtin, not typing.Any. Silent type annotation error.

Priority: low | Labels: bug, tech-debt

`pitchers/creation.py:311` and `batters/creation.py:231` — `Dict[str, any]` references `any()` builtin, not `typing.Any`. Silent type annotation error. **Priority**: low | **Labels**: bug, tech-debt
Claude added the
ai-working
label 2026-03-20 21:01:27 +00:00
Claude removed the
ai-working
label 2026-03-20 21:04:33 +00:00
Collaborator

Fixed in PR #31: #31

Added Any to the typing imports in both files and updated the cardset parameter annotation from Dict[str, any] to Dict[str, Any] in pitchers/creation.py and batters/creation.py.

Fixed in PR #31: https://git.manticorum.com/cal/paper-dynasty-card-creation/pulls/31 Added `Any` to the `typing` imports in both files and updated the `cardset` parameter annotation from `Dict[str, any]` to `Dict[str, Any]` in `pitchers/creation.py` and `batters/creation.py`.
Claude added the
ai-pr-opened
label 2026-03-20 21:04:49 +00:00
cal closed this issue 2026-03-23 12:12:30 +00:00
cal closed this issue 2026-03-23 12:12:30 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cal/paper-dynasty-card-creation#15
No description provided.