MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / put_radio

Function put_radio

pywebio/pin.py:202–210  ·  view source on GitHub ↗

Output a radio widget. Refer to: `pywebio.input.radio()`

(name: str, options: List[Union[Dict[str, Any], Tuple, List, str]] = None, *, label: str = '',
              inline: bool = None, value: str = None, help_text: str = None, scope: str = None,
              position: int = OutputPosition.BOTTOM)

Source from the content-addressed store, hash-verified

200
201
202def put_radio(name: str, options: List[Union[Dict[str, Any], Tuple, List, str]] = None, *, label: str = '',
203 inline: bool = None, value: str = None, help_text: str = None, scope: str = None,
204 position: int = OutputPosition.BOTTOM) -> Output:
205 """Output a radio widget. Refer to: `pywebio.input.radio()`"""
206 from pywebio.input import radio
207 check_dom_name_value(name, 'pin `name`')
208 single_input_return = radio(name=name, options=options, label=label, inline=inline, value=value,
209 help_text=help_text)
210 return _pin_output(single_input_return, scope, position)
211
212
213def put_slider(name: str, *, label: str = '', value: Union[int, float] = 0, min_value: Union[int, float] = 0,

Callers 2

targetFunction · 0.85
pin_widgetsFunction · 0.85

Calls 3

radioFunction · 0.90
check_dom_name_valueFunction · 0.85
_pin_outputFunction · 0.85

Tested by 1

targetFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…