get_has_parts
- get_has_parts(prefix)[source]
Get children resources.
- Parameters:
prefix (
str
) – The prefix to look up- Return type:
- 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')