Skip to content

BaseEvent

autogen.events.BaseEvent #

BaseEvent(uuid=None, **kwargs)

Bases: BaseModel, ABC

Source code in autogen/events/base_event.py
def __init__(self, uuid: Optional[UUID] = None, **kwargs: Any) -> None:
    uuid = uuid or uuid4()
    super().__init__(uuid=uuid, **kwargs)

uuid instance-attribute #

uuid

print #

print(f=None)

Print event

PARAMETER DESCRIPTION
f

Print function. If none, python's default print will be used.

TYPE: Optional[Callable[..., Any]] DEFAULT: None

Source code in autogen/events/base_event.py
def print(self, f: Optional[Callable[..., Any]] = None) -> None:
    """Print event

    Args:
        f (Optional[Callable[..., Any]], optional): Print function. If none, python's default print will be used.
    """
    ...