-
Notifications
You must be signed in to change notification settings - Fork 384
Update the data serialization in hl_api_server.py #3488
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
Update the data serialization in hl_api_server.py #3488
Conversation
…ta before sending the response back in hl_api_server.py
Co-authored-by: med-ayssar <med.ayssar@gmail.com>
@babsey Ping for review! |
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.
LGTM!
I would suggest a code at line 264 in pynest/nest/server/hl_api_server.py
:
response = [nest.serialize_data(master_response)]
The proposed changes by @babsey
@babsey the proposed changes are added |
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.
LGTM!
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.
Looks good!
int64 cannot be serialized by default jsonify,
this change adds the serialization of all int* types to
serialize_data
function and uses it before sending the server responsefixes #3487