We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8635240 commit a6038c3Copy full SHA for a6038c3
1 file changed
importlib_metadata/__init__.py
@@ -667,6 +667,17 @@ class Context:
667
Each DistributionFinder may expect any parameters
668
and should attempt to honor the canonical
669
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.
681
"""
682
683
name = None
0 commit comments