cloudevents / cloudevents/sdk-python

Add support for CloudEvents v1.0.2

Open
#194 1 comment 4 reactions 0 assignees View on GitHub

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

  1. Make a proto for your data
  2. Try to assign it to data
  3. Fail / Object of type X is not JSON serializable

Specifications

  • Platform: Fedora Linux 36 (Workstation Edition)
  • Python Version: 3.10.7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.