get_hubconf_dir_from_cfg#

get_hubconf_dir_from_cfg(cfg, parent: str | None = '') str[source]#

Determine destination directory name from an ExternalModuleConfig.

If a parent path is provided, the dir name is appended to it.

Parameters:
Returns:

Directory name or path

Return type:

str