get_provided_by
- get_provided_by(prefix: str) list[str] | None[source]
Get the resources that provide for the given prefix, or return none if the prefix can’t be looked up.
- Parameters:
prefix – The prefix to look up
- Returns:
The prefixes of the resources that provide for the given prefix. This is the inverse of
get_provides_for().
>>> get_provides_for("validatordb") 'pdb'