Closed jason-tang5 closed 1 month ago
Hey @jason-tang5, sorry it took me so long to review this.
I believe it should have been implemented using examples
keyword instead and was covered by the other PR https://github.com/cloudevents/sdk-python/pull/235. I'm gonna close this one and sorry again for not getting back earlier.
Fixes https://github.com/cloudevents/sdk-python/issues/231
Changes
Received the following warning: "PydanticDeprecatedSince20: Using extra keyword arguments on Field is deprecated and will be removed. Use json_schema_extra instead. (Extra keys: 'example')." so we updated the example keyword to json_schema_extra.
One line description for the changelog
Updated example keyword to json_schema_extra