Deactivate all extensions flag (#2206)

* feat: allow all extension deactivation

* doc: updated comment

* fix: make sure `register_routes` executes after installed extensions are checked

* chore: code format

* fix: do not run migration on deactivated extensions

* fix: make sure the deactivated extension list is loaded in time

* feat: register extension routes if extension never loaded before

* fix: move `load_disabled_extension_list`

* doc: disable by default
This commit is contained in:
Vlad Stan
2024-01-22 12:18:12 +02:00
committed by GitHub
parent 0d2447faf3
commit 26ca8c71d7
8 changed files with 57 additions and 24 deletions
-2
View File
@@ -54,8 +54,6 @@ async def stop_extension_background_work(
"""
Stop background work for extension (like asyncio.Tasks, WebSockets, etc).
Extensions SHOULD expose a DELETE enpoint at the root level of their API.
This function tries first to call the endpoint using `http`
and if it fails it tries using `https`.
"""
async with httpx.AsyncClient() as client:
try: