Azure / Azure/azure-functions-python-library
How to receive CloudEvent triggers?
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by searching the repository for EventGridEvent, CloudEvent, and get_json to establish the current receiving behavior. Confirm how the payload, metadata, and extension attributes are exposed, then document guidance that answers how an Azure Function receives an EventGrid CloudEvent and what the completed behavior is.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- backend, cloud
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100