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

Function put_info

pywebio/output.py:420–431  ·  view source on GitHub ↗

Output information message. :param contents: Message contents. The item is ``put_xxx()`` call, and any other type will be converted to ``put_text(content)``. :param bool closable: Whether to show a dismiss button on the right of the message. :param int scope, position: Those argu

(*contents: Any, closable: bool = False, scope: str = None,
             position: int = OutputPosition.BOTTOM)

Source from the content-addressed store, hash-verified

418
419
420def put_info(*contents: Any, closable: bool = False, scope: str = None,
421 position: int = OutputPosition.BOTTOM) -> Output:
422 """Output information message.
423
424 :param contents: Message contents.
425 The item is ``put_xxx()`` call, and any other type will be converted to ``put_text(content)``.
426 :param bool closable: Whether to show a dismiss button on the right of the message.
427 :param int scope, position: Those arguments have the same meaning as for `put_text()`
428
429 .. versionadded:: 1.2
430 """
431 return _put_message(color='info', contents=contents, closable=closable, scope=scope, position=position)
432
433
434def put_success(*contents: Any, closable: bool = False, scope: str = None,

Callers 3

targetFunction · 0.85
mainFunction · 0.85
output_widgetsFunction · 0.85

Calls 1

_put_messageFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…