Skip to content

Conversation

@walison17
Copy link
Collaborator

@walison17 walison17 commented Feb 9, 2024

Add support to install and load external plugins at runtime. Plugins will be discovered by package entrypoint metadata

To make a plugin for dialog the package/library must have a dialog entrypoint and a module with register_plugin function

My inspiration for this was pytest plugins: https://docs.pytest.org/en/7.1.x/how-to/writing_plugins.html#making-your-plugin-installable-by-others

resolves #85

@vmesel
Copy link
Member

vmesel commented Feb 14, 2024

@walison17 can you give us a working example of this? I'm quite sure this will break the existing WhatsApp plugin

@vmesel vmesel self-requested a review February 16, 2024 22:40
vmesel added a commit that referenced this pull request Feb 19, 2024
@vmesel vmesel closed this Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants