1
2
3
4
5
6
7
8
9
10
11
12
13
14 | metadata.yaml
---
requires:
database:
interface: mongodb
reactive/whatever.py
---
@when('database.database.available')
def changed_mongodb(db):
mongourl = db.connection_string()
kv().set('mongourl', mongourl)
setup()
remove_state('database.database.available')
|