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

Function data

pywebio/session/__init__.py:486–498  ·  view source on GitHub ↗

Get the session-local object of current session. .. deprecated:: 1.1 Use `local ` instead.

()

Source from the content-addressed store, hash-verified

484
485
486def data():
487 """Get the session-local object of current session.
488
489
490 .. deprecated:: 1.1
491 Use `local <pywebio.session.local>` instead.
492 """
493 global local
494
495 import warnings
496 warnings.warn("`pywebio.session.data()` is deprecated since v1.1 and will remove in the future version, "
497 "use `pywebio.session.local` instead", DeprecationWarning, stacklevel=2)
498 return local
499
500
501def set_env(**env_info):

Callers 1

targetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…