Skip to content

Latest commit

 

History

History
117 lines (47 loc) · 2.33 KB

opyrator.ui.streamlit_utils.md

File metadata and controls

117 lines (47 loc) · 2.33 KB

module opyrator.ui.streamlit_utils

Hack to add per-session state to Streamlit.

Based on: https://gist.github.com/tvst/036da038ab3e999a64497f42de966a92

Global Variables

  • CUSTOM_STREAMLIT_CSS

function get_current_session

get_current_session() → ReportSession

function get_session_state

get_session_state(**kwargs: Any) → SessionState

Gets a SessionState object for the current session.

Creates a new object if necessary.


class SessionState

method __init__

__init__(**kwargs: Any) → None

A new SessionState object.


property input_data


property latest_operation_input


property output_data


property run_id


method clear

clear() → None

This file was automatically generated via lazydocs.