Skip to content

Conversation

@oscarkey
Copy link
Contributor

@oscarkey oscarkey commented Sep 1, 2025

None of the methods are in the public API, so the renames should be safe.

Also fix some minor type errors.

I didn't feel confident writing a docstring for fix_dtypes(), so I applied noqa.

None of the methods are in the public API, so the renames should be
safe.

Also fix some minor type errors.

I didn't feel confident writing a docstring for fix_dtypes(), so I
applied noqa.
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request primarily focuses on improving the public API by renaming several methods to remove the leading underscore, which is a great step towards better code clarity. It also includes a typo fix in a method name and some improvements to type hints and docstrings. The changes are generally positive and enhance the codebase's maintainability. I've identified a couple of areas where further improvements can be made, particularly regarding a latent bug exposed by a type hint change and an opportunity to restore a useful type annotation.

@oscarkey oscarkey requested a review from LeoGrin September 1, 2025 14:52
@oscarkey oscarkey merged commit 7ab65f8 into main Sep 1, 2025
10 checks passed
@oscarkey oscarkey deleted the ok-tiny-fixes branch September 1, 2025 15:06
oscarkey added a commit that referenced this pull request Nov 12, 2025
…x typo in method name. (#128)

* Record copied public PR 476

* Rename public methods to remove "_" prefix. And fix typo in method name. (#476)

None of the methods are in the public API, so the renames should be safe.

Also fix some minor type errors.

I didn't feel confident writing a docstring for fix_dtypes(), so I applied noqa.

(cherry picked from commit 7ab65f8)

---------

Co-authored-by: mirror-bot <mirror-bot@users.noreply.github.com>
Co-authored-by: Oscar Key <oscar@priorlabs.ai>
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.

3 participants