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 imports in pittapi/__init__.py #191

Merged
merged 1 commit into from
Aug 10, 2024
Merged

Conversation

tianyizheng02
Copy link
Contributor

Update pittapi/__init__.py to import urllib3 rather than requests.packages.urllib3. The previous method of disabling InsecureRequestWarning is now outdated and raises import errors with mypy (see https://stackoverflow.com/a/28002687).

Update pittapi/__init__.py to import urllib3 rather than
requests.packages.urllib3. The previous method of disabling
InsecureRequestWarning is now outdated and raises import errors with
mypy.
@akrishan11 akrishan11 merged commit 6cdd9ea into dev Aug 10, 2024
4 checks passed
@tianyizheng02 tianyizheng02 deleted the update-pittapi-init branch August 10, 2024 07:27
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