ontap-rest-python
ontap-rest-python copied to clipboard
netapp_ontap packages take 20+ seconds to load
print("1. Loading onTAP dependencies...")
from netapp_ontap import NetAppRestError
from netapp_ontap.resources import Volume
from netapp_ontap.resources import Aggregate
from netapp_ontap.resources import Node
from netapp_ontap import config, HostConnection
print("Time taken: " + str(time.time() - start))
Output:
1. Loading onTAP dependencies
Time taken: 21.128556728363037
21 seconds to load the dependencies. Am I missing something?
Thank you for reporting an issue! If you haven't already joined our Discord community, then we invite you to do so. This is a great place to get help and ask questions from our community.
And also, a lot of operations (i.e., fetching all nodes/aggregates/volumes) seem to be much slower than ontap_rest_api itself (performing all those at once in ontap_python_api took upwards to 150 seconds, whereas by just using ontap_rest_api, it took around 20 seconds)