Module pandas_profiling.report.presentation.core.toggle_button
Expand source code
from typing import Any
from pandas_profiling.report.presentation.abstract.item_renderer import ItemRenderer
class ToggleButton(ItemRenderer):
def __init__(self, text, **kwargs):
super().__init__("toggle_button", {"text": text}, **kwargs)
def __repr__(self):
return "ToggleButton"
def render(self) -> Any:
raise NotImplementedError()
Classes
-
Helper class that provides a standard way to create an ABC using inheritance.
Expand source code
class ToggleButton(ItemRenderer): def __init__(self, text, **kwargs): super().__init__("toggle_button", {"text": text}, **kwargs) def __repr__(self): return "ToggleButton" def render(self) -> Any: raise NotImplementedError()
Ancestors
- ItemRenderer
- Renderable
- abc.ABC
Subclasses
Methods
-
Expand source code
def render(self) -> Any: raise NotImplementedError()