True for the bare "?" reminder used for unset values/models. It is shown literally as a prompt to the user and must never be handed to SLiCAP's expression parser, which would raise a Sympify error on it.
(expr_str: str)
| 156 | |
| 157 | |
| 158 | def _is_placeholder(expr_str: str) -> bool: |
| 159 | """True for the bare "?" reminder used for unset values/models. |
| 160 | |
| 161 | It is shown literally as a prompt to the user and must never be handed to |
| 162 | SLiCAP's expression parser, which would raise a Sympify error on it.""" |
| 163 | return expr_str.strip() == "?" |
| 164 | |
| 165 | |
| 166 | def render_name_eq_value(name: str, value_str: str) -> bytes | None: |
no outgoing calls
no test coverage detected