This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import syslog | |
| from dataclasses import dataclass | |
| from typing import Callable, Generic, Literal, Protocol, Type, TypeVar, TypeVarTuple | |
| # Initial solution with classes | |
| # | |
| # class Filter(Protocol): | |
| # def filter(self, message: str) -> bool: ... | |
| # class TextFilter(Filter): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from typing import Literal | |
| import streamlit as st | |
| from streamlit.components.v1 import html | |
| """ | |
| st_fixed_container consist of two parts - fixed container and opaque container. | |
| Fixed container is a container that is fixed to the top or bottom of the screen. | |
| When transparent is set to True, the container is typical `st.container`, which is transparent by default. |
NewerOlder