from typing import Dict
import yaml


def read_config(path: str = 'config/config.yaml') -> Dict:
    """ Load configuration file from path.

    Parameters
    -----------
    path : str
    Loaded file full path

    Returns 
    -----------
    Dict 
        Dictionary with proper parameters.

    """
    with open(path, 'r') as confile:
        config = yaml.safe_load(confile)
    return config