-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-1438: [Python] Pull serialization context through PlasmaClient put and get #1019
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
Conversation
|
|
||
| def put(self, object value, ObjectID object_id=None): | ||
| def put(self, object value, ObjectID object_id=None, | ||
| serialization_context=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you the type to the new parameter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it can be any Python object having the required methods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is true!
wesm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a unit test?
|
|
||
| def put(self, object value, ObjectID object_id=None): | ||
| def put(self, object value, ObjectID object_id=None, | ||
| serialization_context=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it can be any Python object having the required methods
|
Good catch, I'm adding the tests! |
63ff3cd to
1a4fade
Compare
|
+1 This should now be ready to merge |
wesm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
No description provided.