6ee10d9c36f26fa79321ddaae71f67c5b38fb146,dva/settings.py,,,#,16
Before Change
}
BROKER_URL = "amqp://{}:{}@localhost//".format("guest","guest")
else:
BROKER_URL = "amqp://{}:{}@rabbit//".format("dvauser","localpass")
DATABASES = {
"default": {
"ENGINE": "django.db.backends.postgresql_psycopg2",
"NAME": "postgres",
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"),
"USER": os.environ.get("DB_USER","postgres"),
"PASSWORD": os.environ.get("DB_PASS","postgres"),
"HOST": os.environ.get("DB_HOST","db"),
"PORT": 5432,
}
}
// Password validation
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
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: uber/ludwig
Commit Name: fcb01e3b18c0b3304c4ff0b1f0b8b4ede518f762
Time: 2020-12-03
Author: jimthompson5802@gmail.com
File Name: ludwig/features/numerical_feature.py
Class Name: NumericalFeatureMixin
Method Name: get_feature_meta
Project Name: ray-project/ray
Commit Name: c74dc58f8b38bb947b903d3f92efbd8d1cd675ce
Time: 2020-06-05
Author: sven@anyscale.io
File Name: rllib/models/torch/fcnet.py
Class Name: FullyConnectedNetwork
Method Name: __init__