def __generate_extra_paths()

in liminal/core/util/extensible.py [0:0]


def __generate_extra_paths(plugin_type, extra_paths):
    return (extra_paths or []) + ([f'{__PLUGINS}.{plugin_type}'] if f'{__PLUGINS}.{plugin_type}' in sys.path else [])