Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/v/a/varnish-bans-manager-0.5.3/varnish_bans_manager/core/__init__.py   varnish-bans-manager(Download)
def initialize_worker():
    # Media generator URLs need to be refreshed on development mode.
    # This is mainly needed for sending e-mails with images.
    from mediagenerator.settings import MEDIA_DEV_MODE
    from mediagenerator.utils import _refresh_dev_names
    if MEDIA_DEV_MODE:
        _refresh_dev_names()