Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cloudevent fields type checking adjustments #97

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Aug 13, 2020

Conversation

cumason123
Copy link
Contributor

Fixes #95, #94, #92

Changes

#92:
moved

from cloudevents.sdk.converters import is_binary, is_structured

into

from cloudevents.http import is_binary, is_structured

#94
added

from cloudevents.exceptions import CloudEventMissingRequiredFields, CloudEventTypeErrorRequiredFields

#95:
BinaryHTTPCloudEventConverter.can_read
now checks 4 required fields instead of just 1

One line description for the changelog

cloudevent fields type checking adjustments

  • [*] Tests pass
  • [*] Appropriate changes to README are included in PR

Curtis Mason added 3 commits August 13, 2020 10:35
@cumason123 cumason123 requested review from grayside and grant August 13, 2020 18:09
Curtis Mason added 2 commits August 13, 2020 11:16
Signed-off-by: Curtis Mason <[email protected]>
Curtis Mason added 2 commits August 13, 2020 12:45
@cumason123 cumason123 requested a review from grant August 13, 2020 19:53
@cumason123 cumason123 merged commit e1d043c into cloudevents:v1.0.1-dev Aug 13, 2020
cumason123 added a commit that referenced this pull request Aug 13, 2020
* docs: rename receiving cloudevents (#91)

Signed-off-by: Grant Timmerman <[email protected]>

* add coc ref (#90)

Signed-off-by: Doug Davis <[email protected]>

Co-authored-by: Curtis Mason <[email protected]>

* CloudEvents equality override (#98)

* added tests to cloudevent eq

Signed-off-by: Curtis Mason <[email protected]>

* lint fix

Signed-off-by: Curtis Mason <[email protected]>

* modified changelog

Signed-off-by: Curtis Mason <[email protected]>

* version bump

Signed-off-by: Curtis Mason <[email protected]>

* cloudevent fields type checking adjustments (#97)

* added exceptions and more indepth can_read

Signed-off-by: Curtis Mason <[email protected]>

* moved is_binary, is_structured into http module

Signed-off-by: Curtis Mason <[email protected]>

* changelog and version bump

Signed-off-by: Curtis Mason <[email protected]>

* removed unused import and spacing

Signed-off-by: Curtis Mason <[email protected]>

* lint fix

Signed-off-by: Curtis Mason <[email protected]>

* reverted auto format change

Signed-off-by: Curtis Mason <[email protected]>

* reverted changelog and auto format changes

Signed-off-by: Curtis Mason <[email protected]>

* changelog 1.0.1 update (#101)

Signed-off-by: Curtis Mason <[email protected]>

Co-authored-by: Grant Timmerman <[email protected]>
Co-authored-by: Doug Davis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants