Return a params dict for the symbol (preserving param order). Default values come straight from the symbol's ``data-params`` definition (see SymbolLibrary): a value of ``?`` marks a parameter the user must fill in; an empty default is omitted from the netlist until set.
(symbol_name: str)
| 211 | |
| 212 | |
| 213 | def params_for_symbol(symbol_name: str) -> dict[str, str]: |
| 214 | """Return a params dict for the symbol (preserving param order). |
| 215 | |
| 216 | Default values come straight from the symbol's ``data-params`` definition |
| 217 | (see SymbolLibrary): a value of ``?`` marks a parameter the user must fill in; |
| 218 | an empty default is omitted from the netlist until set.""" |
| 219 | return dict(SYMBOL_PARAM_DEFAULTS.get(symbol_name, {})) |
| 220 | |
| 221 | |
| 222 | def fixed_params_for_symbol(symbol_name: str) -> dict[str, str]: |
no outgoing calls
no test coverage detected