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:
cfg (ExternalModuleConfig) – an ExternalModuleConfig
parent (str | None) – Parent path. Defaults to ‘’.
- Returns:
Directory name or path
- Return type: