INNER CODE UNIT · Python

names

toolsforexperiments/plottr · plottr/__init__.py:189

                 names: Optional[List[str]] = None) -> Any:
    """Get a specific config value.

    ..Example: If the config is:: python

        config = {
            'foo' : {
                'bar' : 'spam',
            },
        }

    .. then we can get an entry like this:: python

        >>> config_entry('foo', 'bar', default=None)
        'spam'
        >>> config_entry('foo', 'bacon')
        None
        >>> config_entry('foo', 'bar', 'bacon')

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…