docs: better cloudevent explenation

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
This commit is contained in:
Alexander Tkachev 2022-07-24 21:51:32 +03:00
parent fb4f993536
commit 1187600b1b
1 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,11 @@ from typing import TypeVar
class CloudEvent(abc.ABC):
"""
Used internally for multi-framework event type integration
The CloudEvent Python wrapper contract exposing generically-available
properties and APIs.
Implementations might handle fields and have other APIs exposed but are
obliged to follow this contract.
"""
@classmethod