Download api/events/document_event.py from ZHZ1024/dify: direct link, hf CLI and curl.
- Browser
- Download file 101 Bytes
-
https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/api/events/document_event.py
- Command line
-
hf download hf://spaces/ZHZ1024/dify/api/events/document_event.py
-
curl -L -o document_event.py https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/api/events/document_event.py
101 Bytes
| from blinker import signal | |
| # sender: document | |
| document_was_deleted = signal("document-was-deleted") | |