Skip to content

Re-export public APIs in __init__.py #191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

abcdabcd987
Copy link

from .x import y as y is a widely recognized way to re-export public APIs. Linters and IDEs are happier with this notation.

@rlouf rlouf requested a review from RobinPicard March 13, 2025 16:41
RobinPicard
RobinPicard previously approved these changes May 20, 2025
Copy link
Contributor

@RobinPicard RobinPicard left a comment

Choose a reason for hiding this comment

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

LGTM

@rlouf
Copy link
Member

rlouf commented May 20, 2025

There’s a conflict that needs to be resolved. We should be able to merge once it’s solved.

@rlouf rlouf force-pushed the export-public-apis branch 2 times, most recently from f12190a to 332bc3a Compare May 22, 2025 11:38
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