mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 19:14:00 +03:00
Update services example
This commit is contained in:
parent
96476ba9ca
commit
d5bd3bdfce
|
@ -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}})
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}})
|
||||
|
|
Loading…
Reference in New Issue
Block a user