Code Monkey home page Code Monkey logo

app-sdk-python's People

Contributors

dependabot[bot] avatar pyashish avatar sagnihotri-cohesity avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

app-sdk-python's Issues

Need the ability to specify requests timeout value

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)

Missing "setuptools" package from requirements.txt

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.
    ********************************************************************************

!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.