Skip to content

flatten_paths

Source

Hook for flattening a dictionary into a list of paths.

Inputs

Name Type Default Required Description
paths Union[dict, list] True A list or map representing paths to files that should be flattened
base_path str True A base path to prefix in the output.

Arguments

Position Argument Type
1 paths Union[dict, list]

Returns

list