kedro/config/config.py
def _path_lookup(conf_path: Path, patterns: Iterable[str]) -> List[Path]:
    """Return a sorted list of all configuration files from ``conf_path`` or
    its subdirectories, which satisfy a given list of glob patterns.

    Args:
        conf_path: Path to configuration directory.
        patterns: List of glob patterns to match the filenames against.

    Returns:
        Sorted list of ``Path`` objects representing configuration files.

    """
    config_files = set()
    conf_path = conf_path.resolve()

    for pattern in patterns:
        # `Path.glob()` ignores the files if pattern ends with "**",
        # therefore iglob is used instead
        for each in iglob(str(conf_path / pattern), recursive=True):
            path = Path(each).resolve()
            if path.is_file() and path.suffix in SUPPORTED_EXTENSIONS:
                config_files.add(path)
    return sorted(config_files)
Return a sorted list of all configuration files from ``conf_path`` or
    its subdirectories, which satisfy a given list of glob patterns.

    Args:
        conf_path: Path to configuration directory.
        patterns: List of glob patterns to match the filenames against.

    Returns:
        Sorted list of ``Path`` objects representing configuration files.

    
Return a sorted list of all configuration files from ``conf_path`` or
its subdirectories, which satisfy a given list of glob patterns.
Return a sorted list of all configuration files from ` ` conf_path ` ` or its subdirectories which satisfy a given list of glob patterns .
def _path_lookup(conf_path: Path, patterns: Iterable[str]) -> List[Path]:
    config_files = set()
    conf_path = conf_path.resolve()
    for pattern in patterns:
        for each in iglob(str(conf_path / pattern), recursive=True):
            path = Path(each).resolve()
            if path.is_file() and path.suffix in SUPPORTED_EXTENSIONS:
                config_files.add(path)
    return sorted(config_files)
def _path_lookup ( conf_path : Path , patterns : Iterable [ str ] ) -> List [ Path ] : config_files = set ( ) conf_path = conf_path . resolve ( ) for pattern in patterns : for each in iglob ( str ( conf_path / pattern ) , recursive = True ) : path = Path ( each ) . resolve ( ) if path . is_file ( ) and path . suffix in SUPPORTED_EXTENSIONS : config_files . add ( path ) return sorted ( config_files )
Return a sorted list of all configuration files from ``conf_path`` or
its subdirectories, which satisfy a given list of glob patterns.
Return a sorted list of all configuration files from ` ` conf_path ` ` or its subdirectories which satisfy a given list of glob patterns .
"""Return a sorted list of all configuration files from ``conf_path`` or
    its subdirectories, which satisfy a given list of glob patterns.

    Args:
        conf_path: Path to configuration directory.
        patterns: List of glob patterns to match the filenames against.

    Returns:
        Sorted list of ``Path`` objects representing configuration files.

    """ # `Path.glob()` ignores the files if pattern ends with "**", # therefore iglob is used instead
Sorted list of ``Path`` objects representing configuration files.
Sorted list of ` ` Path ` ` objects representing configuration files .
conf_path
Path
Path to configuration directory.
Path to configuration directory .
patterns
Iterable[str]
List of glob patterns to match the filenames against.
List of glob patterns to match the filenames against .