-
Notifications
You must be signed in to change notification settings - Fork 793
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: Restrict static & runtime top-level imports #3482
Merged
Merged
Commits on Jul 16, 2024
-
feat: generate an
__all__
forchannels.py
This missing is the main source of unpredictable imports. I've explicitly not included the `Mixin` classes, side effect imports (e.g. `Undefined`, `parse_shorthand`, `@overload`) and `@with_property_setters`
Configuration menu - View commit details
-
Copy full SHA for 2864c07 - Browse repository at this point
Copy the full SHA 2864c07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2444f70 - Browse repository at this point
Copy the full SHA 2444f70View commit details -
Configuration menu - View commit details
-
Copy full SHA for db31ff1 - Browse repository at this point
Copy the full SHA db31ff1View commit details -
refactor: add explicit import for
utils.parse_shorthand
This was the only side-effect import that I imagine was useful
Configuration menu - View commit details
-
Copy full SHA for 160ce60 - Browse repository at this point
Copy the full SHA 160ce60View commit details -
Configuration menu - View commit details
-
Copy full SHA for e21b8c8 - Browse repository at this point
Copy the full SHA e21b8c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fac81d6 - Browse repository at this point
Copy the full SHA fac81d6View commit details -
refactor: add explicit imports in
v5.__init__.py
Previously imported in `api` -> here
Configuration menu - View commit details
-
Copy full SHA for 7e3c5bd - Browse repository at this point
Copy the full SHA 7e3c5bdView commit details -
feat: define an
__all__
forapi.py
manuallyCurrently not included deprecations, but will probably have to revert later
Configuration menu - View commit details
-
Copy full SHA for 2c286b5 - Browse repository at this point
Copy the full SHA 2c286b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42cf5e8 - Browse repository at this point
Copy the full SHA 42cf5e8View commit details -
Dropped from top-level: `DataType`, `TOPLEVEL_ONLY_KEYS`, `mixins`
Configuration menu - View commit details
-
Copy full SHA for 973dfc7 - Browse repository at this point
Copy the full SHA 973dfc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38535a0 - Browse repository at this point
Copy the full SHA 38535a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a85d77a - Browse repository at this point
Copy the full SHA a85d77aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b913cd8 - Browse repository at this point
Copy the full SHA b913cd8View commit details
Commits on Jul 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c956968 - Browse repository at this point
Copy the full SHA c956968View commit details
Commits on Jul 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a7be727 - Browse repository at this point
Copy the full SHA a7be727View commit details
Commits on Jul 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1e0c12d - Browse repository at this point
Copy the full SHA 1e0c12dView commit details
Commits on Jul 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 52c939c - Browse repository at this point
Copy the full SHA 52c939cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54723ec - Browse repository at this point
Copy the full SHA 54723ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3ea6ff - Browse repository at this point
Copy the full SHA f3ea6ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13c2d87 - Browse repository at this point
Copy the full SHA 13c2d87View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0dcc5d - Browse repository at this point
Copy the full SHA d0dcc5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 050f16b - Browse repository at this point
Copy the full SHA 050f16bView commit details
Commits on Jul 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 76d10e3 - Browse repository at this point
Copy the full SHA 76d10e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa65edd - Browse repository at this point
Copy the full SHA fa65eddView commit details
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.