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

fix/rework private package configuration #2044

Merged
merged 3 commits into from
Apr 5, 2024

Conversation

nbargnesi
Copy link
Contributor

@nbargnesi nbargnesi commented Apr 5, 2024

Some analyzer packages provide their own __init__. Rather than having to pass the package name to itself, rework private package configuration to derive the importable package from the package class module name.

So for example if the "pdf" package is used, self.__class__.__module__ is:

modules.packages.pdf

And the data module derived from it becomes:

data.packages.pdf

Some packages provide their own __init__. Rather than having to pass the
package name to itself, rework private package configuration to derive
the importable package from the package class module name.

So for example if the "pdf" package is used, self.__class__.__module__
is:
  modules.packages.pdf

And the data module derived from it becomes:
  data.packages.pdf
@doomedraven doomedraven merged commit 70a0f1e into kevoreilly:master Apr 5, 2024
5 checks passed
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.

2 participants