platypush.message.event.covid19

class platypush.message.event.covid19.Covid19UpdateEvent(confirmed: int, deaths: int, recovered: int, country: Optional[str] = None, country_code: Optional[str] = None, update_time: Optional[datetime.datetime] = None, *args, **kwargs)[source]
__init__(confirmed: int, deaths: int, recovered: int, country: Optional[str] = None, country_code: Optional[str] = None, update_time: Optional[datetime.datetime] = None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]