Git Product home page Git Product logo

Comments (4)

tedchamb avatar tedchamb commented on May 19, 2024

That is correct. We cache data to the file system under the user directory by default. You can override where the cached files get written to by setting the following environment variable: VSTS_CACHE_DIR. I am not familiar with the details of the lambda deployment, is the entire file system read-only, or is there a directory you can write to?

https://github.com/Microsoft/vsts-python-api/blob/0d9537016bd45cf7f2140433c0ec54b44768f726/vsts/vsts/_file_cache.py#L111

from azure-devops-python-api.

tedchamb avatar tedchamb commented on May 19, 2024

@jonshern, I'm closing this issue, please reply back if you have any further questions regarding this issue, and I can reopen it.

from azure-devops-python-api.

jonshern avatar jonshern commented on May 19, 2024

os.environ['VSTS_CACHE_DIR'] = '/tmp/'

Fixes it

from azure-devops-python-api.

jithurjacob avatar jithurjacob commented on May 19, 2024

The variable has been renamed to 'AZURE_DEVOPS_CACHE_DIR' so use

os.environ['AZURE_DEVOPS_CACHE_DIR'] = '/tmp/'

from azure-devops-python-api.

Related Issues (20)

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.