Skip to main content

HtmlDashboard (class)

Return an instance of this class in a Python dashboard to create a dashboard with HTML content.

The class can be imported from the squirrels.dashboards or squirrels module.

Constructor​

def __init__(self, content: str | io.StringIO) -> None:

Creates a HtmlDashboard object.

Required Arguments:

  • content: A string / io.StringIO object for the HTML content as string.