From ba572647b291e593e70a30e45c234c9766472ff3 Mon Sep 17 00:00:00 2001 From: Shay Date: Mon, 15 May 2023 13:11:21 -0700 Subject: [PATCH] Export `run_as_background_process` from the module API (#15577) --- changelog.d/15577.misc | 1 + synapse/module_api/__init__.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelog.d/15577.misc diff --git a/changelog.d/15577.misc b/changelog.d/15577.misc new file mode 100644 index 0000000000..74a7f495de --- /dev/null +++ b/changelog.d/15577.misc @@ -0,0 +1 @@ +Export `run_as_background_process` from the module API. diff --git a/synapse/module_api/__init__.py b/synapse/module_api/__init__.py index 4b59e6825b..2c9d181acf 100644 --- a/synapse/module_api/__init__.py +++ b/synapse/module_api/__init__.py @@ -156,6 +156,7 @@ __all__ = [ "parse_json_object_from_request", "respond_with_html", "run_in_background", + "run_as_background_process", "cached", "NOT_SPAM", "UserID",