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(python): Add support for synchronous callbacks #407

Merged
merged 17 commits into from
Mar 28, 2019
Merged

feat(python): Add support for synchronous callbacks #407

merged 17 commits into from
Mar 28, 2019

Conversation

garnaat
Copy link
Contributor

@garnaat garnaat commented Mar 28, 2019

This PR adds support for synchronous callbacks in Python as well as a number of other small fixes.

Fixes #405


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@garnaat garnaat requested review from dstufft and a team as code owners March 28, 2019 15:20
def test_objectIdDoesNotGetReallocatedWhenTheConstructorPassesThisOut():
class PartiallyInitializedThisConsumerImpl(PartiallyInitializedThisConsumer):
def consume_partially_initialized_this(self):
def consume_partially_initialized_this(self, obj, dt, en):
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be nice if you can also assert that dt and en have the correct values (like the Java implementation does).

@RomainMuller RomainMuller changed the title Add support for synchronous callbacks fix(python): Add support for synchronous callbacks Mar 28, 2019
@RomainMuller RomainMuller changed the title fix(python): Add support for synchronous callbacks feat(python): Add support for synchronous callbacks Mar 28, 2019
Copy link
Contributor

@dstufft dstufft left a comment

Choose a reason for hiding this comment

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

Delete the:

xfail_callbacks = pytest.mark.skip(reason="Implement callback support")

From the top of the file, since all of the xfail_callbacks should be gone now, we no longer need it around.

@garnaat garnaat merged commit 4cb91b3 into aws:master Mar 28, 2019
@eladb
Copy link
Contributor

eladb commented Mar 28, 2019

👯

RomainMuller added a commit that referenced this pull request Mar 28, 2019
### Bug Fixes

* **kernel:** Transitively consider properties when deserializing structs ([#409](#409)) ([66789e8](66789e8))
* **python:** Lift the entire data class hierarchy ([#408](#408)) ([f813620](f813620))

### Features

* **python:** Add support for synchronous callbacks ([#407](#407)) ([4cb91b3](4cb91b3))
@RomainMuller RomainMuller mentioned this pull request Mar 28, 2019
eladb pushed a commit that referenced this pull request Mar 28, 2019
### Bug Fixes

* **kernel:** Transitively consider properties when deserializing structs ([#409](#409)) ([66789e8](66789e8))
* **python:** Lift the entire data class hierarchy ([#408](#408)) ([f813620](f813620))

### Features

* **python:** Add support for synchronous callbacks ([#407](#407)) ([4cb91b3](4cb91b3))
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.

Python: Ensure callback arguments handled correctly
4 participants