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