sdk-python icon indicating copy to clipboard operation
sdk-python copied to clipboard

Python SDK for CloudEvents

Results 30 sdk-python issues
Sort by recently updated
recently updated
newest added

Was wondering if the sdk has any plans of supporting AMQP 0-9-1 protocol (the underlying protocol for RabbitMQ). I would be happy to work on a PR for it.

## Expected Behavior The CloudEvent model, like Pydantic's BaseModel, can serialize of `datetime` properties to strings in the `.json()` function. ## Actual Behavior The CloudEvent model raises a `ValueError` from...

CloudEvent equality is incorrect on none attributes ``` from cloudevents.http import CloudEvent CloudEvent(attributes={"type": "a", "source": "a", "a": None}) == CloudEvent({"type": "a", "source":"a"}) ``` expected `True` actual `False` the spec says...

## Expected Behavior Able to use [proto_data](https://github.com/cloudevents/spec/blob/main/cloudevents/formats/cloudevents.proto#L40), [somehow](https://github.com/cloudevents/spec/blob/main/cloudevents/formats/protobuf-format.md#62-proto-message-as-event-data). ## Actual Behavior No code in repo even refers to proto or any way to use it because v1.0 did not have...

Fixes # ## Changes ## One line description for the changelog - [ ] Tests pass - [ ] Appropriate changes to README are included in PR

## Changes ## One line description for the changelog - [ ] Tests pass - [ ] Appropriate changes to README are included in PR

The __getitem__ of this class goes on to describe that: https://github.com/cloudevents/sdk-python/blob/c5645d8fcf03432639727b9a7f6508c3059a1673/cloudevents/abstract/event.py#L99-L100 providing a reason and perhaps a reference to an example would help developers understand why event.get() is discouraged by...

## Expected Behavior The `from_http` function should return a CloudEvent object where attributes like `specversion`, `type`, and `source` are accessible via `event["attributes"]` or similar documented methods. ## Actual Behavior But...

question

## Changes - Full implementation of Kafka bindings ## One line description for the changelog - [ ] Tests pass - [ ] Appropriate changes to README are included in...

Fixes # ## Changes ## One line description for the changelog - [ ] Tests pass - [ ] Appropriate changes to README are included in PR