feat: add missing return type
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
This commit is contained in:
parent
41a9af2874
commit
5f8399fa09
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue