utils.rcclient.libs.streamlit_utils

Subpackages

Submodules

Package Contents

Classes

AuthClient

LogUtil

Functions

renderError(err)

__get_headers()

__get_param(param_name)

__get_params()

fetch_chart_configs(dl_id)

__get_app_tenant_id(chart_config)

get_charts_configs()

Attributes

logger

class utils.rcclient.libs.streamlit_utils.AuthClient
static setToken(email=None, password=None, token=None, tenant_name=None)

It authenticates the user and uses this identity in all future operations. There are many methods to authenticate: 1) pass token as an argument 1) set RC_PYTHON_CLIENT_TOKEN is env variables 1) Provide email and password as arguments 2) Set RC_PYTHON_CLIENT_EMAIL and RC_PYTHON_CLIENT_PASSWORD in environment variables 3) Provide token as argument. Token can be retrieved from the RC UI :param email: :param password: :param token: :param tenant_name:

classmethod __switch_to_tenant(user: utils.rc.dtos.user.User, tenant_name: str) str
class utils.rcclient.libs.streamlit_utils.LogUtil
classmethod get_logger()
classmethod get_plain_logger()
classmethod get_pandas_logger()
classmethod get_papermill_logger()
classmethod set_basic_config(format='%(levelname)s:%(message)s', level=logging.INFO)
classmethod highlight_msg(msg: str)
utils.rcclient.libs.streamlit_utils.logger
utils.rcclient.libs.streamlit_utils.renderError(err)
utils.rcclient.libs.streamlit_utils.__get_headers()
utils.rcclient.libs.streamlit_utils.__get_param(param_name)
utils.rcclient.libs.streamlit_utils.__get_params()
utils.rcclient.libs.streamlit_utils.fetch_chart_configs(dl_id: str)
utils.rcclient.libs.streamlit_utils.__get_app_tenant_id(chart_config)
utils.rcclient.libs.streamlit_utils.get_charts_configs()