feat: add missing return type

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
This commit is contained in:
Alexander Tkachev 2022-07-22 23:31:55 +03:00
parent 41a9af2874
commit 5f8399fa09
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ def from_http(
headers: typing.Dict[str, str],
data: typing.Union[str, bytes, None],
data_unmarshaller: types.UnmarshallerType = None,
):
) -> CloudEvent:
"""
Unwrap a CloudEvent (binary or structured) from an HTTP request.
:param headers: the HTTP headers