How to implement application specific plugins for amqtt? #140
Unanswered
FlyingDiver
asked this question in
Q&A
Replies: 1 comment
-
AFAIK As you mentioned, the config contains the entry point specification. If you want to know how this works under the hood, see https://packaging.python.org/en/latest/specifications/entry-points/ If you want to use entry points with particular names, your own project must include its own configuration, e.g. with a section in your projects E.g. if you also use
If you do not use Then you can reference your plugin by name in the relevant configuration, e.g.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not familiar with Poetry, but it appears that the mapping from plugin name in the config file to the actual code implementation is specified in pyproject.toml:
But pyproject.toml is not part of the actual amqtt library, just the Git repository. How does that actually work at run time? I have need to implement a different Auth plugin, but I can't figure out how to specify it in the config file.
Beta Was this translation helpful? Give feedback.
All reactions