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

fix: add missing parameters to requests.request #298

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

douo
Copy link
Contributor

@douo douo commented Apr 17, 2024

I found that the function signatures of requests.request and session.request are not consistent. Apart from the additional parameters passed to the Session constructor, the stream and max_recv_speed parameters are missing. I’m not sure if this is intentional or an oversight. If it is intentional, please close this PR.

Screenshot 2024-04-17 at 15 27 53

@douo douo changed the title fix: add missing parameters from session request fix: add missing parameters to requests.request Apr 17, 2024
@perklet
Copy link
Collaborator

perklet commented Apr 17, 2024

It was an oversight. Thanks for fixing them.

@perklet perklet merged commit 22375f6 into lexiforest:main Apr 23, 2024
7 checks passed
@OSinoooO
Copy link

OSinoooO commented Jun 7, 2024

Why can't i use stream param in 0.6.0b7?

@perklet
Copy link
Collaborator

perklet commented Jun 7, 2024

@OSinoooO Use the latest version, 0.6.4.

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.

3 participants