File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
examples/miniapps/services Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -351,10 +351,10 @@ Next example demonstrates run of example application defined above:
351
351
352
352
if __name__ == ' __main__' :
353
353
# Configure platform:
354
- Core.config.update ({' database' : {' dsn' : ' :memory:' },
355
- ' aws' : {' access_key_id' : ' KEY' ,
356
- ' secret_access_key' : ' SECRET' },
357
- ' auth' : {' token_ttl' : 3600 }})
354
+ Core.config.override ({' database' : {' dsn' : ' :memory:' },
355
+ ' aws' : {' access_key_id' : ' KEY' ,
356
+ ' secret_access_key' : ' SECRET' },
357
+ ' auth' : {' token_ttl' : 3600 }})
358
358
Core.logger().addHandler(logging.StreamHandler(sys.stdout))
359
359
360
360
# Run application:
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ follows `Semantic versioning`_
12
12
- Improve ``Configuration `` provider overriding logic.
13
13
- Refactor ``Configuration `` provider.
14
14
- Improve ``DependenciesContainer `` provider overriding logic.
15
+ - Update "services" example miniapp.
15
16
- Update "bundles" example miniapp.
16
17
17
18
3.10.0
Original file line number Diff line number Diff line change 8
8
9
9
if __name__ == '__main__' :
10
10
# Configure platform:
11
- Core .config .update ({'database' : {'dsn' : ':memory:' },
12
- 'aws' : {'access_key_id' : 'KEY' ,
13
- 'secret_access_key' : 'SECRET' },
14
- 'auth' : {'token_ttl' : 3600 }})
11
+ Core .config .override ({'database' : {'dsn' : ':memory:' },
12
+ 'aws' : {'access_key_id' : 'KEY' ,
13
+ 'secret_access_key' : 'SECRET' },
14
+ 'auth' : {'token_ttl' : 3600 }})
15
15
Core .logger ().addHandler (logging .StreamHandler (sys .stdout ))
16
16
17
17
# Run application:
You can’t perform that action at this time.
0 commit comments