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

lazy import fixes/dir injection #12

Merged
merged 3 commits into from
Dec 2, 2024
Merged

Conversation

devkral
Copy link
Collaborator

@devkral devkral commented Dec 2, 2024

Changes:

  • Initialize the getter and dir functions lazily when adding lazy imports.
  • Bump version

Fixes:

  • Missing __dir__ injection so dir() didn't show the lazy imports.
  • Error when adding lazy imports later without pre-existing lazy imports.

Changes:

- Initialize the getter and dir functions lazily when adding lazy imports.
- Bump version

Fixes:
- Missing `__dir__` injection so `dir()` didn't show the lazy imports.
- Error when adding lazy imports later without pre-existing lazy imports.
@devkral devkral merged commit 9d4fce3 into main Dec 2, 2024
10 checks passed
@devkral devkral deleted the devkral/fixes/module_getters_dir branch December 2, 2024 15:13
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