Get the value of multiple pin widgets. Compared to using the :data:`pin` object to get the value of the pin widget one by one, this function can get the value of multiple pin widgets at once and is more efficient when getting the value of multiple pin widgets. :return: A dict,
(names: list[str])
| 275 | |
| 276 | |
| 277 | def get_pin_values(names: list[str]) -> dict[str, Any]: |
| 278 | """ |
| 279 | Get the value of multiple pin widgets. |
| 280 | Compared to using the :data:`pin` object to get the value of the pin widget one by one, |
| 281 | this function can get the value of multiple pin widgets at once and is more efficient |
| 282 | when getting the value of multiple pin widgets. |
| 283 | |
| 284 | :return: A dict, the key is the name of the pin widget, and the value is the value of the pin widget. |
| 285 | If the pin widget does not exist, the dict will not contain the corresponding key. |
| 286 | """ |
| 287 | return _get_pin_values(names) |
| 288 | |
| 289 | |
| 290 | class Pin_: |
nothing calls this directly
no test coverage detected
searching dependent graphs…