File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -667,6 +667,17 @@ class Context:
667667 Each DistributionFinder may expect any parameters
668668 and should attempt to honor the canonical
669669 parameters defined below when appropriate.
670+
671+ This mechanism gives a custom provider a means to
672+ solicit additional details from the caller beyond
673+ "name" and "path" when searching distributions.
674+ For example, imagine a provider that exposes suites
675+ of packages in either a "public" or "private" ``realm``.
676+ A caller may wish to query only for distributions in
677+ a particular realm and could call
678+ ``distributions(realm="private")`` to signal to the
679+ custom provider to only include distributions from that
680+ realm.
670681 """
671682
672683 name = None
You can’t perform that action at this time.
0 commit comments