diff --git a/cloudevents/abstract/event.py b/cloudevents/abstract/event.py index d0d4b7f..1bf65b1 100644 --- a/cloudevents/abstract/event.py +++ b/cloudevents/abstract/event.py @@ -14,7 +14,7 @@ class CloudEvent(abc.ABC): cls, attributes: typing.Dict[str, typing.Any], data: typing.Optional[typing.Any], - ) -> "CloudEvent": + ) -> "AnyCloudEvent": """ Factory function. We SHOULD NOT use the __init__ function as the factory because