Skip to content

Commit b7d21f4

Browse files
committed
Add graylog system notification cleaner - 2
1 parent 03defc0 commit b7d21f4

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

services/graylog/scripts/clean_system_notifications.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
import json
2-
import warnings
3-
from typing import Optional
4-
5-
import requests
6-
71
#!/usr/bin/env -S uv --quiet run --script
82
# /// script
93
# requires-python = ">=3.13"
@@ -12,6 +6,11 @@
126
# "requests",
137
# ]
148
# ///
9+
import json
10+
import warnings
11+
from typing import Optional
12+
13+
import requests
1514
import typer
1615
from requests.auth import HTTPBasicAuth
1716

0 commit comments

Comments
 (0)