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

[Feature Req] Support for loading external components via CLI/TOML #82

Open
steven-murray opened this issue Jul 28, 2020 · 0 comments
Open
Assignees
Labels
Type: feature A new feature to add functionality
Milestone

Comments

@steven-murray
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
If using the Python interpreter, externally-defined models can be used. However, these are not available if using
the CLI, or loading from TOML. This should be added.

Describe the solution you'd like
Probably best to convert all base components into ABCs that can register submodules, and provide a keyword for importing modules in the TOML. Then registered plugins can be automatically used.

Describe alternatives you've considered
Could just use importlib directly to load in any string that is given. But this is clunkier and prone to error.

@steven-murray steven-murray added the Type: feature A new feature to add functionality label Jul 28, 2020
@steven-murray steven-murray self-assigned this Jul 28, 2020
@steven-murray steven-murray added this to the v3.4 milestone Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: feature A new feature to add functionality
Projects
None yet
Development

No branches or pull requests

1 participant