Skip to content
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

Remove module import/exports from top-level __init__ where appropriate #1150

Open
mferrera opened this issue Feb 6, 2024 · 0 comments
Open
Milestone

Comments

@mferrera
Copy link
Collaborator

mferrera commented Feb 6, 2024

There are many instances where modules are imported to the top-level init to be re-exported with a shorter import path. An example:

from xtgeo.surface import regular_surface
# Now can access xtgeo.regular_surface

I suspect these can all be removed without breaking anything, but it's possible that this is a breaking change out in the wild. This change should be grouped into xtgeo 4.0.

@mferrera mferrera changed the title Remove model import/exports from top-level __init__ where appropriate Remove module import/exports from top-level __init__ where appropriate Feb 6, 2024
@mferrera mferrera added this to the xtgeo 4.0 milestone Feb 6, 2024
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

No branches or pull requests

1 participant