Unify dpnp public API exports by refactoring dpnp_iface.py#2665
Merged
vlad-perevezentsev merged 30 commits intomasterfrom Dec 17, 2025
Merged
Unify dpnp public API exports by refactoring dpnp_iface.py#2665vlad-perevezentsev merged 30 commits intomasterfrom
dpnp_iface.py#2665vlad-perevezentsev merged 30 commits intomasterfrom
Conversation
Contributor
|
View rendered docs @ https://intelpython.github.io/dpnp/index.html |
Collaborator
7 tasks
dpnp_iface exportsdpnp_iface.py
antonwolfy
reviewed
Nov 17, 2025
Contributor
|
Array API standard conformance tests for dpnp=0.20.0dev1=py313h509198e_51 ran successfully. |
antonwolfy
reviewed
Nov 18, 2025
antonwolfy
approved these changes
Nov 21, 2025
Contributor
antonwolfy
left a comment
There was a problem hiding this comment.
Thank you @vlad-perevezentsev
github-actions bot
added a commit
that referenced
this pull request
Dec 17, 2025
This PR proposes to refactor the export structure of `dpnp_iface.py` by moving all python function exports into `dpnp/__init__.py` Redundant `__all__` declarations and wildcard imports inside `dpnp_iface.py` have been removed. 167c3e6
vlad-perevezentsev
added a commit
that referenced
this pull request
Dec 17, 2025
This PR removes the remaining wildcard imports and `__all__` declarations from internal modules and consolidates the corresponding exports in `dpnp/__init__.py` as part of the ongoing public API unification. This work follows #2665
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR proposes to refactor the export structure of
dpnp_iface.pyby moving all python function exports intodpnp/__init__.pyRedundant
__all__declarations and wildcard imports insidedpnp_iface.pyhave been removed.This is the first step toward unifying dpnp public API exports and eliminating wildcard imports.
A next PR will remove the remaining wildcard imports in
__init__.pyand finalize the unified function export