The getitem of this class goes on to describe that:
|
The `data` of the event should be accessed by the `.data` accessor rather |
|
than this mapping. |
providing a reason and perhaps a reference to an example would help developers understand why event.get() is discouraged by this helper method.
For instance, there is confusion in how the private _attributes data should be accessed expressed in #246.
The getitem of this class goes on to describe that:
sdk-python/cloudevents/abstract/event.py
Lines 99 to 100 in c5645d8
providing a reason and perhaps a reference to an example would help developers understand why event.get() is discouraged by this helper method.
For instance, there is confusion in how the private _attributes data should be accessed expressed in #246.