Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkutaj/8edea7459d1d60a335bcad186fb5288b to your computer and use it in GitHub Desktop.
Save pkutaj/8edea7459d1d60a335bcad186fb5288b to your computer and use it in GitHub Desktop.
SSAP-44.03-State-Machine-for-Log-Reducer7.py
def make_event(line: str) -> str:
for trigger in EVENTS:
if trigger in line:
return EVENTS[trigger]
else:
return "default"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment