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
Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Curtis Mason <cumason@google.com>
@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 <cumason@google.com>
Signed-off-by: Curtis Mason <cumason@google.com>
Curtis Mason added 2 commits August 13, 2020 12:45
Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Curtis Mason <cumason@google.com>
@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 <timmerman+devrel@google.com>

* add coc ref (#90)

Signed-off-by: Doug Davis <dug@us.ibm.com>

Co-authored-by: Curtis Mason <31265687+cumason123@users.noreply.github.com>

* CloudEvents equality override (#98)

* added tests to cloudevent eq

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fix

Signed-off-by: Curtis Mason <cumason@google.com>

* modified changelog

Signed-off-by: Curtis Mason <cumason@google.com>

* version bump

Signed-off-by: Curtis Mason <cumason@google.com>

* cloudevent fields type checking adjustments (#97)

* added exceptions and more indepth can_read

Signed-off-by: Curtis Mason <cumason@google.com>

* moved is_binary, is_structured into http module

Signed-off-by: Curtis Mason <cumason@google.com>

* changelog and version bump

Signed-off-by: Curtis Mason <cumason@google.com>

* removed unused import and spacing

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fix

Signed-off-by: Curtis Mason <cumason@google.com>

* reverted auto format change

Signed-off-by: Curtis Mason <cumason@google.com>

* reverted changelog and auto format changes

Signed-off-by: Curtis Mason <cumason@google.com>

* changelog 1.0.1 update (#101)

Signed-off-by: Curtis Mason <cumason@google.com>

Co-authored-by: Grant Timmerman <timmerman@google.com>
Co-authored-by: Doug Davis <dug@us.ibm.com>
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