summary refs log tree commit diff
path: root/docs/development/synapse_architecture/cancellation.md
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2022-11-22 14:44:09 +0100
committerMathieu Velten <mathieuv@matrix.org>2022-11-22 18:09:13 +0100
commita0dfa69ffc2474fcd433597b23c74a98ec45840a (patch)
tree0aaf5532543e20b4118ddca0ede25aebccb688a7 /docs/development/synapse_architecture/cancellation.md
parentEnable unused awaitable error in mypy (diff)
downloadsynapse-a0dfa69ffc2474fcd433597b23c74a98ec45840a.tar.xz
Add type ignore unused-awaitable to run_as_background_process calls
Diffstat (limited to 'docs/development/synapse_architecture/cancellation.md')
-rw-r--r--docs/development/synapse_architecture/cancellation.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/development/synapse_architecture/cancellation.md b/docs/development/synapse_architecture/cancellation.md

index ef9e022635..232fe8a565 100644 --- a/docs/development/synapse_architecture/cancellation.md +++ b/docs/development/synapse_architecture/cancellation.md
@@ -374,7 +374,7 @@ async def do_something() -> None: # `do_something_else` will get its own independent # logging context. `request-1` will not count any # metrics from `do_something_else`. - run_as_background_process( + run_as_background_process( # type: ignore[unused-awaitable] "do_something_else", do_something_else, to_resolve,