6ee10d9c36f26fa79321ddaae71f67c5b38fb146,dva/settings.py,,,#,16

Before Change


else:
    BROKER_URL = "amqp://{}:{}@rabbit//".format("dvauser","localpass")
    DATABASES = {
        "default": {
            "ENGINE": "django.db.backends.postgresql_psycopg2",
            "NAME": "postgres",
            "USER": "postgres",
            "PASSWORD": "postgres",
            "HOST": "db",
            "PORT": 5432,
        }
    }


After Change


    }
    BROKER_URL = "amqp://{}:{}@localhost//".format("guest","guest")
elif "DOCKER_MODE" in os.environ:
    BROKER_URL = "amqp://{}:{}@{}//".format(os.environ.get("RABBIT_HOST","rabbit"),os.environ.get("RABBIT_USER","dvauser"),os.environ.get("RABBIT_PASS","localpass"))
    DATABASES = {
        "default": {
            "ENGINE": "django.db.backends.postgresql_psycopg2",
            "NAME": os.environ.get("DB_NAME","postgres"),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: AKSHAYUBHAT/DeepVideoAnalytics
Commit Name: 6ee10d9c36f26fa79321ddaae71f67c5b38fb146
Time: 2017-02-21
Author: akshayubhat@gmail.com
File Name: dva/settings.py
Class Name:
Method Name:


Project Name: AKSHAYUBHAT/DeepVideoAnalytics
Commit Name: a622175ff1b140d273423803e7fa86c943ba26cd
Time: 2018-08-15
Author: akshayubhat@gmail.com
File Name: server/dvaui/views.py
Class Name:
Method Name: search


Project Name: tryolabs/luminoth
Commit Name: 5ab5db26ff2cf0f09804b34b5533c8d59f53667b
Time: 2017-06-29
Author: javirey@gmail.com
File Name: frcnn/rcnn.py
Class Name: RCNN
Method Name: _build


Project Name: dmlc/gluon-nlp
Commit Name: 66e5e057347c3710eb8fa27c134a9303309e94c0
Time: 2020-08-28
Author: ziyue@apache.org
File Name: scripts/pretraining/run_electra.py
Class Name:
Method Name: evaluation