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

Replaced requests with httpx 0.18 #285

Merged
merged 11 commits into from
Feb 1, 2022
Merged

Replaced requests with httpx 0.18 #285

merged 11 commits into from
Feb 1, 2022

Conversation

grantv9
Copy link
Contributor

@grantv9 grantv9 commented Jan 18, 2022

Closes #172

@ghost
Copy link

ghost commented Jan 18, 2022

CLA assistant check
All CLA requirements met.

@petebryan
Copy link
Contributor

Thanks @grantv9!

It looks like there are some functions in your branch still using requests (items in msticpy/data/azure). It would be great to replace all instances if this PR.

Also there are some linting errors coming up. You can find the linters we use here:
https://github.com/microsoft/msticpy/wiki/Contributor-guidelines

Please let us know if you have any questions

@grantv9
Copy link
Contributor Author

grantv9 commented Jan 24, 2022

You're welcome @petebryan!

I fixed the msticpy/data/azure directory and updated the tests accordingly (using the respx library instead of responses). The linting issues should also be resolved in the new commit.

@FlorianBracq FlorianBracq mentioned this pull request Jan 28, 2022
@grantv9
Copy link
Contributor Author

grantv9 commented Jan 29, 2022

Submitted a new PR that fixes the last two pytest errors from test_pkg_imports.py and test_sumologic_driver.py

@petebryan petebryan merged commit e1c3d91 into microsoft:main Feb 1, 2022
juju4 pushed a commit to juju4/msticpy that referenced this pull request Jun 5, 2022
Replaced requests with httpx 0.18
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.

Replace requests with httpx
2 participants