fix incorrect type annotation of spack.provider_index._IndexBase.providers
This commit is contained in:
parent
f95e246355
commit
10acffc92e
@ -26,7 +26,7 @@ class _IndexBase:
|
|||||||
#: Calling providers_for(spec) will find specs that provide a
|
#: Calling providers_for(spec) will find specs that provide a
|
||||||
#: matching implementation of MPI. Derived class need to construct
|
#: matching implementation of MPI. Derived class need to construct
|
||||||
#: this attribute according to the semantics above.
|
#: this attribute according to the semantics above.
|
||||||
providers: Dict[str, Dict[str, Set[str]]]
|
providers: Dict[str, Dict["spack.spec.Spec", Set["spack.spec.Spec"]]]
|
||||||
|
|
||||||
def providers_for(self, virtual_spec):
|
def providers_for(self, virtual_spec):
|
||||||
"""Return a list of specs of all packages that provide virtual
|
"""Return a list of specs of all packages that provide virtual
|
||||||
|
Loading…
Reference in New Issue
Block a user