Skip to main content
Version: 0.6

streamlit

superduper.components.streamlit

Source code

Streamlit​

Streamlit(self,
identifier: str,
upstream: Optional[List[ForwardRef('Component')]] = None,
db: dataclasses.InitVar[typing.Optional[ForwardRef('Datalayer')]] = None,
*,
demo_func: Callable,
demo_kwargs: Dict = <factory>,
default: bool = False,
is_standalone: bool = False) -> None
ParameterDescription
identifierIdentifier of the instance.
upstreamA list of upstream components.
dbDatalayer instance. Datalayer instance.
demo_funcCallable which builds the demo.
demo_kwargskey-word arguments to the demo_func
defaultSet to True if this is to be the frontpage.
is_standaloneSet to True if this is a standalone page.

Streamlit demo function to be deployed on the streamlit server.