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

Refactor q2-types to avoid circular imports #341

Closed
wants to merge 2 commits into from

Conversation

ebolyen
Copy link
Member

@ebolyen ebolyen commented Jul 22, 2024

Each submodule gets two sides, the public and importable subpackage as before, and a new _deferred_setup which is only accessed by plugin_setup.py. This allows implementations and subpackages to rely on other subpackages without invoking registration logic which invariable re-imports plugin causing the mess in the first place.

@ebolyen
Copy link
Member Author

ebolyen commented Jul 23, 2024

Superseded by better branch: #342

@ebolyen ebolyen closed this Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant