cohesity / app-sdk-python Goto Github PK
View Code? Open in Web Editor NEWPython SDK for developing Apps on Cohesity Marketplace
Home Page: https://marketplace.cohesity.com/
License: Other
Python SDK for developing Apps on Cohesity Marketplace
Home Page: https://marketplace.cohesity.com/
License: Other
I searched through the code and found no place to override the default requests timeout of 60 seconds. I was able to get the code working only if I changed the default timeout in requests.py (which is not a lasting solution as requests.py updates will remove my changes)
Maybe something like:
client = CohesityClient(cluster_vip=args.ip,
username=args.user,
password=args.password,
domain=args.domain,
timeout=420)
If trying to install from a clean env and following the readme instructions, a user may encounter "\setup.py", line 4, in
from setuptools import setup, find_packages
ModuleNotFoundError: No module named 'setuptools'
This is because setup tools has been deprecated. A user can install the package manually (pip install setuptools), but will get the warnings about deprecated packages when running the setup script subsequently:
\Lib\site-packages\setuptools_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
S:\Shared Repo\Cohesity\cohesityenv\Lib\site-packages\setuptools_distutils\cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.