Skip to content

#153 fix implicit-Optional in resource signatures - #161

Merged
martinkersner merged 1 commit into
mainfrom
worktree-agent-a47462ad885c2d4bc
Jul 4, 2026
Merged

#153 fix implicit-Optional in resource signatures#161
martinkersner merged 1 commit into
mainfrom
worktree-agent-a47462ad885c2d4bc

Conversation

@martinkersner

Copy link
Copy Markdown
Member

Closes #153

Summary

Fix implicit-Optional (PEP 484) across resource signatures: param: str = Noneparam: Optional[str] = None. Swept all of datamaxi/resources/*.py and the async mirror datamaxi/aio/*.py. Annotation-only change — no defaults or logic touched. Pairs with #152 so the corrected hints actually reach consumers.

Tests

  • mypy implicit-Optional errors in resources/aio: 60 -> 0.
  • 172 passed. black + flake8 clean.

param: str = None -> param: Optional[str] = None across resources/ + aio/
mirrors. no runtime change, typing only.
@martinkersner
martinkersner marked this pull request as ready for review July 4, 2026 11:37
@martinkersner
martinkersner merged commit d8926c0 into main Jul 4, 2026
5 checks passed
@martinkersner
martinkersner deleted the worktree-agent-a47462ad885c2d4bc branch July 4, 2026 11:37
@martinkersner martinkersner self-assigned this Jul 5, 2026
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.

Fix implicit-Optional in resource signatures (param: str = None)

1 participant