Comments (5)
Thank you, @tedpearson, for raising this issue.
Concerning the second warning message about collections, that is due to the version of Requests that we vendor. Requests has addressed it with version 2.19.0 and we are currently preparing a release with version 2.21.0 of Requests.
from oci-python-sdk.
While I'm here I'll just pile this other warning into a comment...
/Users/ted/.local/share/virtualenvs/<snip>/lib/python3.7/site-packages/oci/_vendor/requests/models.py:181: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
if isinstance(hook, collections.Callable):
from oci-python-sdk.
@tedpearson I believe I'm missing something here. Do you have a short sample program which produces the warning, "ResourceWarning: unclosed <socket.socket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.15.15.88', 61087), raddr=('129.146.14.197', 443)>"? I have tried to reproduce the warning in Python 3.5.1 and Python 3.7.2 with the currently vendored packages and the updated packages.
The base_client should be holding open sockets because it uses connection pools, but everything should be cleaned up when a client is no longer needed.
from oci-python-sdk.
Hey Art, previously it was reproducible every time I ran some simple code, and now I can't reproduce at all either. I'm not sure what changed. I guess you can close this, and if it reoccurs I will remember to make a test case for you.
from oci-python-sdk.
Thanks @tedpearson. I'm closing the issue for now.
from oci-python-sdk.
Related Issues (20)
- Private IP addresses for the db_nodes in ExaCS is not the correct one HOT 21
- problems running in CLI OCI HOT 3
- metrics are geting 429 error when we calling the api filter maximum , minimum and average metrics HOT 6
- Issue with accessing oci.container_instances.ContainerInstanceClient response data HOT 2
- volume backups are not getting all records in this list_volume_backups api call HOT 8
- Report with properties of PDBs HOT 4
- Error using FlowLogCaptureFilterRuleDetails
- Missing dependency on sseclient
- oci python SDK while using instance-principals, raising exceptions.ServiceError NotAuthorizedOrNotFound HOT 7
- a little typo in the documentation how to run CLI with help option $ python3 oci_capacity_reporter_gui.py -help HOT 1
- Error in log-analytics storage purge-storage-data HOT 4
- Focus report how we can get it. HOT 1
- call mysql_client_composite_ops.copy_backup_and_wait_for_state display AttributeError: 'DbBackupsClient' object has no attribute 'get_work_request'
- usageapi not working for ap-mumbai region HOT 8
- update python cryptography dependency again (42 -> 43)
- muscat region instance not reachable with the api_config parameters from python script. HOT 7
- Date for adding `response_format` from cohere api HOT 2
- Optimizer client api givinig wrong data(list resource action api) HOT 8
- ShowSubscription - 401 - Not Authorized HOT 14
- implementation of price calculator in application HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oci-python-sdk.