Download api/events/message_event.py from ZHZ1024/dify: direct link, hf CLI and curl.
- Browser
- Download file 120 Bytes
-
https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/api/events/message_event.py
- Command line
-
hf download hf://spaces/ZHZ1024/dify/api/events/message_event.py
-
curl -L -o message_event.py https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/api/events/message_event.py
120 Bytes
| from blinker import signal | |
| # sender: message, kwargs: conversation | |
| message_was_created = signal("message-was-created") | |