Download shellops/assets/ShellOps_070812d0ef/init/src/incidents/processor.py from Hoyant-Su/ShellOps: direct link, hf CLI and curl.
- Browser
- Download file 149 Bytes
-
https://huggingface.co/datasets/Hoyant-Su/ShellOps/resolve/main/shellops/assets/ShellOps_070812d0ef/init/src/incidents/processor.py
- Command line
-
hf download hf://datasets/Hoyant-Su/ShellOps/shellops/assets/ShellOps_070812d0ef/init/src/incidents/processor.py
-
curl -L -o processor.py https://huggingface.co/datasets/Hoyant-Su/ShellOps/resolve/main/shellops/assets/ShellOps_070812d0ef/init/src/incidents/processor.py
149 Bytes
| def process_incident(incident): | |
| if incident.ticket_id: | |
| log_event(incident.ticket_id, incident.description) | |
| return incident.ticket_id | |