Skip to content

Closes #5213: add TypeGuards to dtypes module - #5214

Merged
ajpotts merged 2 commits into
Bears-R-Us:mainfrom
ajpotts:5213_add_TypeGuards_to_dtypes_module
Jan 8, 2026
Merged

ajpotts merged 2 commits into
Bears-R-Us:mainfrom
ajpotts:5213_add_TypeGuards_to_dtypes_module

Conversation

@ajpotts

@ajpotts ajpotts commented Dec 22, 2025 •

Copy link
Copy Markdown
Contributor

Add explicit scalar TypeAlias definitions and TypeGuard return types to improve static type narrowing for numeric helpers. Use comment-style aliases and stringized annotations to avoid AutoAPI/Sphinx parse errors. Update stub preprocessing to escape def in docstrings, since AutoAPI cannot parse function definitions embedded in documentation.

Closes #5213: add TypeGuards to dtypes module

drculhane pushed a commit to drculhane/arkouda that referenced this pull request Dec 23, 2025
…nary Plus) in Arkouda (Bears-R-Us#5126)

Very straightforward, ~~but wait until PR Bears-R-Us#5124 to merge first.~~

PR Bears-R-Us#5214 has been merged in so this one is good to go!

Closes Bears-R-Us#5116: Feature Request: Implement pdarray.__pos__ (Unary Plus) in
Arkouda
@ajpotts
ajpotts force-pushed the 5213_add_TypeGuards_to_dtypes_module branch 2 times, most recently from 12ebf71 to 640afda Compare December 23, 2025 17:34
@ajpotts
ajpotts marked this pull request as ready for review December 23, 2025 18:48
@ajpotts
ajpotts force-pushed the 5213_add_TypeGuards_to_dtypes_module branch from d25382c to 7c648fe Compare December 29, 2025 18:09

@1RyanK 1RyanK left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@jaketrookman jaketrookman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@ajpotts
ajpotts added this pull request to the merge queue Jan 8, 2026
Merged via the queue into Bears-R-Us:main with commit 2b52b99 Jan 8, 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.

add TypeGuards to dtypes module

3 participants