3
0
Fork 0

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:
Lance Edgar 2026-03-17 11:26:38 -05:00
parent 17efdb9572
commit 35a0897b21
4 changed files with 74 additions and 14 deletions

View file

@ -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