(s: str)
| 2 | |
| 3 | |
| 4 | def trigger_to_target(s: str) -> str: |
| 5 | assert s[0] == "<" |
| 6 | # Strip off the angle brackets |
| 7 | s = s[1:-1] |
| 8 | # If there is a [wildcard] or similar, strip that off too |
| 9 | if s[-1] == "]": |
| 10 | s = s.split("[")[0] |
| 11 | return s |
no test coverage detected
searching dependent graphs…