cloudevents / cloudevents/sdk-python
Add support for CloudEvents v1.0.2
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 342
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
Expected Behavior
Able to use proto_data, somehow.
Actual Behavior
No code in repo even refers to proto or any way to use it because v1.0 did not have that.
Steps to Reproduce the Problem
- Make a proto for your data
- Try to assign it to data
- Fail /
Object of type X is not JSON serializable
Specifications
- Platform:
Fedora Linux 36 (Workstation Edition) - Python Version:
3.10.7
Contributor guide
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 reviewing the CloudEvents v1.0.2 proto_data definition and the protobuf-format guidance linked in the issue, then trace how the Python SDK assigns and serializes event data. Done means a protobuf message can be assigned to data and used without the current JSON serialization failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100