File size: 275 Bytes
4398510
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from abc import ABC, abstractmethod


class Block(ABC):
    """
    The Block object defines the behaviour for creating a display block.
    """

    @abstractmethod
    def visualize(self):
        """The visualize method visualizes the streamlit component."""
        pass