Skip to content

Conversation

@ajpotts
Copy link
Contributor

@ajpotts ajpotts commented Dec 22, 2025

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 from 6b8014c to 12ebf71 Compare December 23, 2025 17:09
@ajpotts ajpotts force-pushed the 5213_add_TypeGuards_to_dtypes_module branch 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
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

1 participant