🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

This commit is contained in:
pre-commit-ci[bot] 2023-06-16 09:39:47 +00:00
parent 3d56ad5080
commit f322c99f8b
1 changed files with 1 additions and 4 deletions

View File

@ -120,10 +120,7 @@ def _merge_lifespan_context(
async def merged_lifespan(app: AppType) -> AsyncIterator[Mapping[str, Any]]:
async with original_context(app) as maybe_self_context:
async with nested_context(app) as maybe_nested_context:
yield {
**(maybe_self_context or {}),
**(maybe_nested_context or {})
}
yield {**(maybe_self_context or {}), **(maybe_nested_context or {})}
return merged_lifespan