(context, key, missing=missing)
| 123 | |
| 124 | |
| 125 | def resolve_or_missing(context, key, missing=missing): |
| 126 | if key in context.vars: |
| 127 | return context.vars[key] |
| 128 | if key in context.parent: |
| 129 | return context.parent[key] |
| 130 | return missing |
| 131 | |
| 132 | |
| 133 | class Context(with_metaclass(ContextMeta)): |
no outgoing calls
no test coverage detected