Update services example

This commit is contained in:
Roman Mogylatov 2018-01-25 01:06:28 +02:00
parent 96476ba9ca
commit d5bd3bdfce
3 changed files with 9 additions and 8 deletions

View File

@ -351,7 +351,7 @@ Next example demonstrates run of example application defined above:
if __name__ == '__main__':
# Configure platform:
Core.config.update({'database': {'dsn': ':memory:'},
Core.config.override({'database': {'dsn': ':memory:'},
'aws': {'access_key_id': 'KEY',
'secret_access_key': 'SECRET'},
'auth': {'token_ttl': 3600}})

View File

@ -12,6 +12,7 @@ follows `Semantic versioning`_
- Improve ``Configuration`` provider overriding logic.
- Refactor ``Configuration`` provider.
- Improve ``DependenciesContainer`` provider overriding logic.
- Update "services" example miniapp.
- Update "bundles" example miniapp.
3.10.0

View File

@ -8,7 +8,7 @@ from containers import Core, Application
if __name__ == '__main__':
# Configure platform:
Core.config.update({'database': {'dsn': ':memory:'},
Core.config.override({'database': {'dsn': ':memory:'},
'aws': {'access_key_id': 'KEY',
'secret_access_key': 'SECRET'},
'auth': {'token_ttl': 3600}})