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

Update http.py #8

Closed
wants to merge 1 commit into from
Closed

Update http.py #8

wants to merge 1 commit into from

Conversation

maanas-pm
Copy link

Issue found during testing and updating code to support.
removing double type casting and using data directly instead.

Issue found during testing and updating code to support
@maanas-pm maanas-pm marked this pull request as draft December 6, 2024 19:10
@maanas-pm
Copy link
Author

Reviewers: @Nick-Andreano and @privateip

@maanas-pm maanas-pm marked this pull request as ready for review December 6, 2024 19:11
Copy link
Member

@privateip privateip left a comment

Choose a reason for hiding this comment

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

I don't think we should have be applying conditional logic at here, that should be the responsibility of the calling function. In fact, I would asset that this library should even test for data type nor should it encoding the data using json.dumps. I think we need to remove that logic and handle this upstream in the stack

@privateip privateip self-assigned this Dec 18, 2024
@privateip
Copy link
Member

Fixed in #9

@privateip privateip closed this Dec 18, 2024
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.

2 participants