(self, payload, prefix=TRIGGER_PAYLOAD_PREFIX)
| 23 | |
| 24 | class PayloadLookup(object): |
| 25 | def __init__(self, payload, prefix=TRIGGER_PAYLOAD_PREFIX): |
| 26 | self.context = {prefix: payload} |
| 27 | |
| 28 | for system_scope in SYSTEM_SCOPES: |
| 29 | self.context[system_scope] = KeyValueLookup(scope=system_scope) |
| 30 | |
| 31 | def get_value(self, lookup_key): |
| 32 | expr = parse(lookup_key) |
nothing calls this directly
no test coverage detected