get_has_parts

get_has_parts(prefix: str) list[str] | None[source]

Get children resources.

Parameters:

prefix – The prefix to look up

Returns:

The prefixes of resource for which this prefix is the parent. This is the inverse of get_has_parts().

>>> assert "chembl.compound" in get_has_parts("chembl")