Fixed workflow data propagation (#1196)

* Coverage

* Added changelog
This commit is contained in:
Alex Root Junior 2023-06-25 01:11:00 +03:00 committed by GitHub
parent a890622e40
commit 484a61bdc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -28,8 +28,8 @@ def setup_application(app: Application, dispatcher: Dispatcher, /, **kwargs: Any
workflow_data = {
"app": app,
"dispatcher": dispatcher,
**kwargs,
**dispatcher.workflow_data,
**kwargs,
}
async def on_startup(*a: Any, **kw: Any) -> None: # pragma: no cover