Resolve ``{{ ... }}`` expressions in string config values.
(value: Any, context: StepContext)
| 228 | |
| 229 | @staticmethod |
| 230 | def _resolve(value: Any, context: StepContext) -> Any: |
| 231 | """Resolve ``{{ ... }}`` expressions in string config values.""" |
| 232 | if isinstance(value, str) and "{{" in value: |
| 233 | return evaluate_expression(value, context) |
| 234 | return value |
| 235 | |
| 236 | @classmethod |
| 237 | def _resolve_bool(cls, value: Any, context: StepContext) -> bool: |
no test coverage detected