Skip to content

Package

nautobot_lunch

App declaration for nautobot_lunch.

LunchConfig

Bases: NautobotAppConfig

App configuration for the nautobot_lunch app.

Source code in nautobot_lunch/__init__.py
class LunchConfig(NautobotAppConfig):
    """App configuration for the nautobot_lunch app."""

    name = "nautobot_lunch"
    verbose_name = "Nautobot Lunch"
    version = __version__
    author = "Nate Gotz"
    description = "Nautobot Lunch."
    base_url = "lunch"
    required_settings = []
    min_version = "2.0.0"
    max_version = "2.9999"
    default_settings = {
        "yelp_api_key": os.getenv("YELP_API_KEY", ""),
        "cache_time": os.getenv("NAUTOBOT_LUNCH_CACHE_TIME", "3600"),
    }