Skip to content
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

feat: event attribute get operation support #165

Merged
merged 14 commits into from
Jul 10, 2022
Merged

feat: event attribute get operation support #165

merged 14 commits into from
Jul 10, 2022

Conversation

sasha-tkachev
Copy link
Contributor

@sasha-tkachev sasha-tkachev commented Jul 4, 2022

Fixes #49

Changes

One line description for the changelog

I implemented a support for the get operation on the event attributes as described in #147

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

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Copy link
Member

@xSAVIKx xSAVIKx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sasha-tkachev thx for your PR and the contribution! Can you please address some of the comments noted below?

cloudevents/http/event.py Outdated Show resolved Hide resolved
cloudevents/tests/test_http_cloudevent.py Outdated Show resolved Hide resolved
cloudevents/http/event.py Outdated Show resolved Hide resolved
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
@sasha-tkachev
Copy link
Contributor Author

@xSAVIKx I have addressed all of your comments :)

Copy link
Member

@xSAVIKx xSAVIKx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sasha-tkachev please fix the linter errors and take a look once again at the docs suggestion.

cloudevents/http/event.py Outdated Show resolved Hide resolved
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
@xSAVIKx
Copy link
Member

xSAVIKx commented Jul 9, 2022

@sasha-tkachev can you please update your branch as well as make sure that the linter is happy? You can do that by running tox locally (tox -e reformat)

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
@xSAVIKx
Copy link
Member

xSAVIKx commented Jul 9, 2022

@sasha-tkachev your branch is still outdated. You need to merge upstream master into yours.

@xSAVIKx xSAVIKx added the enhancement New feature or request label Jul 9, 2022
@sasha-tkachev
Copy link
Contributor Author

sasha-tkachev commented Jul 9, 2022

@xSAVIKx got it

@xSAVIKx xSAVIKx merged commit 8483e8e into cloudevents:master Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CloudEvent class needs better access to cloudevent fields
2 participants