We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using pyswagger inside a Django project to retrieve data from another API. On every request I'm getting the following warning:
/home/xxx/virtualenvs/aee/lib/python3.6/site-packages/django/views/generic/base.py:97: ResourceWarning: unclosed <socket.socket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('127.0.0.1', 59088), raddr=('127.0.0.1', 8000)> return handler(request, *args, **kwargs)
After some debugging, looks like requests.Session is never closed. Pull request sent.
The text was updated successfully, but these errors were encountered:
Close requests.Session after use (fixes pyopenapi#187)
80a313d
431b4ae
fdbd9e1
Successfully merging a pull request may close this issue.
I'm using pyswagger inside a Django project to retrieve data from another API. On every request I'm getting the following warning:
After some debugging, looks like requests.Session is never closed. Pull request sent.
The text was updated successfully, but these errors were encountered: