We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add an ability to register a new adapter in-process, along the lines of how sqlalchemy allows registering new dialect in-process. Currently it looks like the only way to add an adapter to shillelagh is through an entrypoint.
The text was updated successfully, but these errors were encountered:
Looks like it's possible to do it at runtime via pkg_resources: https://stackoverflow.com/a/48666503/807118
pkg_resources
There's also a 3rd-party library that helps: https://prybar.readthedocs.io/en/stable/
But it might be easier to use a singleton for the registry as the source of truth, and populate it from iter_entry_points.
iter_entry_points
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Add an ability to register a new adapter in-process, along the lines of how sqlalchemy allows registering new dialect in-process. Currently it looks like the only way to add an adapter to shillelagh is through an entrypoint.
The text was updated successfully, but these errors were encountered: