test: add fire_and_forget to API chat webhook stub (#4383)
This commit is contained in:
parent
9d2989f386
commit
0086399656
1 changed files with 3 additions and 0 deletions
|
|
@ -219,6 +219,9 @@ class _WebhookManager:
|
||||||
async def fire(self, event, payload):
|
async def fire(self, event, payload):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
def fire_and_forget(self, event, payload):
|
||||||
|
return None
|
||||||
|
|
||||||
|
|
||||||
def _install_sync_chat_stubs(monkeypatch):
|
def _install_sync_chat_stubs(monkeypatch):
|
||||||
# FastAPI checks for python_multipart at import time when Form is used;
|
# FastAPI checks for python_multipart at import time when Form is used;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue