Azure / Azure/azure-functions-python-library

How to receive CloudEvent triggers?

Open
#226 1 comment 2 reactions 0 assignees View on GitHub
area:python-functions
Dominant language
Python
Stars
179
Forks
79
Avg merge
2d 8h
Merged PRs (30d)
2

Description

EventGrid can send events in CloudEvents v1 format - but how do I receive them in a function? I expected to see a `func.CloudEvent` just like `func.EventGridEvent` or some transformation, but "CloudEvent" yields 0 hits in this repo.

`get_json()` *seems* to give me the payload (`.data`), but what about the metadata? What about extension attributes?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.