Skip to content

CloudEvent only uses v1 #54

Closed
Closed
@cumason123

Description

@cumason123

Expected Behavior

http_events.CloudEvent.from_http method currently only marshalls v1 events. This should probably be more dynamic in order to support multiple event versions. Perhaps we could restore specversion detection as seen in #36 or implement some other workaround.

Actual Behavior

Line 70 in https://github.com/cloudevents/sdk-python/blob/v1.0.0-dev/cloudevents/sdk/http_events.py

        event = marshaller.NewDefaultHTTPMarshaller().FromRequest(
            v1.Event(), headers, data, data_unmarshaller)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions