fix: add lists param for load_entry_points() function
wuttasync needs to let various projects define import/export handlers using the same key, so it needs a way to discover them all without this logic auto-discarding duplicate keys
This commit is contained in:
parent
17efdb9572
commit
35a0897b21
4 changed files with 74 additions and 14 deletions
|
|
@ -42,6 +42,7 @@ intersphinx_mapping = {
|
|||
"rattail": ("https://docs.wuttaproject.org/rattail/", None),
|
||||
"rattail-manual": ("https://docs.wuttaproject.org/rattail-manual/", None),
|
||||
"rich": ("https://rich.readthedocs.io/en/latest/", None),
|
||||
"setuptools": ("https://setuptools.pypa.io/en/latest/", None),
|
||||
"sqlalchemy": ("http://docs.sqlalchemy.org/en/latest/", None),
|
||||
"wutta-continuum": ("https://docs.wuttaproject.org/wutta-continuum/", None),
|
||||
"wuttasync": ("https://docs.wuttaproject.org/wuttasync/", None),
|
||||
|
|
|
|||
|
|
@ -222,13 +222,9 @@ Glossary
|
|||
entry point
|
||||
This refers to a "setuptools-style" entry point specifically,
|
||||
which is a mechanism used to register "plugins" and the like.
|
||||
This lets the app / config discover features dynamically. Most
|
||||
notably used to register :term:`commands<command>` and
|
||||
:term:`subcommands<subcommand>`.
|
||||
This lets the app / config discover features dynamically.
|
||||
|
||||
For more info see the `Python Packaging User Guide`_.
|
||||
|
||||
.. _Python Packaging User Guide: https://packaging.python.org/en/latest/specifications/entry-points/
|
||||
For more info see :doc:`setuptools:userguide/entry_point` in the setuptools docs.
|
||||
|
||||
handler
|
||||
Similar to a "plugin" concept but only *one* handler may be used
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue