class str, msg, *args, **kwargs)[source]#

Bases: Event

Event triggered when a new message is received on a subscribed Google Pub/Sub topic.

__init__(topic: str, msg, *args, **kwargs)[source]#
  • target (str) – Target node

  • origin (str) – Origin node (default: current node)

  • id (str) – Event ID (default: auto-generated)

  • timestamp (float) – Event timestamp (default: current time)

  • logging_level – Logging level for this event (default: logging.INFO)

  • disable_web_clients_notification – Don’t send a notification of this event to the websocket clients

  • kwargs – Additional arguments for the event