Closed
Description
Expected Behavior
Given a non-cloudevent value will return false
Actual Behavior
raises an AttributeError
Steps to Reproduce the Problem
- create an event
- compare it to an integer
from cloudevents.http import CloudEvent
attributes = {
"source": "test",
"type": "google.cloud.audit.log.v1.written",
}
event = CloudEvent(attributes)
event == 1
Specifications
- Platform: Windows
- Python Version: Python 3.9
Metadata
Metadata
Assignees
Labels
No labels