Comments (2)
You might be mixing scripts. There are two main directories of examples in this repo. One is rest_api
and these examples use the requests
library directly to make API calls to ONTAP. This rest_api
directory has in it a utils.py
file that contains the get_key_volumes()
function that it being referred to in that first error.
The other directory is python_client_library
and these examples make use of the netapp_ontap
library (a NetApp published library) to make API calls. This directory has a separate utils.py
file in it whose contents are a little different.
I would say, make sure you're running scripts from the right directory so that the utils
that gets imported is the right one.
from ontap-rest-python.
from ontap-rest-python.
Related Issues (20)
- Sample scripts not working in python3.9 (AttributeError: module 'base64' has no attribute 'encodestring') HOT 1
- Snapmirror relationship HOT 3
- how to upload file to ontap9.8 s3 HOT 2
- How can I list top 5 paths that a specific user consumes most for data storage? HOT 3
- export policy on qtree broken with ontap 9.8 HOT 16
- Python list_snapshots.py KeyError: 'records' HOT 3
- ImportError: cannot import name 'Argument' from 'utils' when running HOT 6
- module 'base64' has no attribute 'encodestring' when running svm_operations.py HOT 3
- 'failed to set field "ip_interfaces[0].location.broadcast_domain.name" to "Default_ckjfbvsnkfdjasbdkfsndlfe_cbekjrvckujeakbxjwc"' HOT 7
- Python script for creating vserver cifs is missing some inputs? HOT 1
- apache_scraper.py - add caller IP and user to report HOT 2
- issue with 9.8 Rest API when trying to configure SP IP address HOT 3
- Getting a single LUN mapping HOT 3
- Size field not available in Snapshot HOT 2
- cifs/sessions api issues HOT 3
- QuotaReport from the python API takes a very (very) long time HOT 7
- Using FileInfo does not work. HOT 3
- Wheel build is broken in a clean Python environment HOT 2
- Unable to use LocalCifsGroupMembers HOT 4
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 ontap-rest-python.