module_attribute
- glotaran.deprecation.deprecation_utils.module_attribute(module_qual_name: str, attribute_name: str) Any [source]
Import and return the attribute (e.g. function or class) of a module.
This is basically the same as
from module_name import attribute_name as return_value
where this function returnsreturn_value
.