import os

class Config:
    '''
    General configuration of parent class
    '''
    API_KEY = os.environ.get('API_KEY')
    NEWS_API_SOURCE_URL ='https://newsapi.org/v2/top-headlines/sources?apiKey={}'
    CAT_API_URL='https://newsapi.org/v2/top-headlines?country=us&category={}&apiKey={}'


class ProductionConfig(Config):
    '''
    Production  configuration child class

    Args:
        Config: The parent configuration class with General configuration settings
    '''
    pass


class DevelopmentConfig(Config):
    '''
    Development  configuration child class

    Args:
        Config: The parent configuration class with General configuration settings
    '''

    DEBUG = True

config_options = {
    'dev': DevelopmentConfig,
    'prod': ProductionConfig
}

import os

class Config:
    '''
    General configuration of parent class
    '''
    API_KEY = os.environ.get('API_KEY')
    NEWS_API_SOURCE_URL ='https://newsapi.org/v2/top-headlines/sources?apiKey={}'
    CAT_API_URL='https://newsapi.org/v2/top-headlines?country=us&category={}&apiKey={}'


class ProductionConfig(Config):
    '''
    Production  configuration child class

    Args:
        Config: The parent configuration class with General configuration settings
    '''
    pass


class DevelopmentConfig(Config):
    '''
    Development  configuration child class

    Args:
        Config: The parent configuration class with General configuration settings
    '''

    DEBUG = True

config_options = {
    'dev': DevelopmentConfig,
    'prod': ProductionConfig
}

General configuration of parent class Production  configuration child class      Args:         Config: The parent configuration class with General configuration settings Development  configuration child class      Args:         Config: The parent configuration class with General configuration settings