Coder Social home page Coder Social logo

Comments (3)

nfx avatar nfx commented on May 31, 2024

@althrussell and adding it to URL works, right?..

from databricks-sdk-py.

althrussell avatar althrussell commented on May 31, 2024

@nfx yes appending to the url works. I've had this issue direct with api

from databricks-sdk-py.

nfx avatar nfx commented on May 31, 2024

@althrussell I'm rounding off for this week, but I think the error is in the core.py, where query is not encoded properly. If you turn on debug logging, you'd probably see ?force=True, but our backend doesn't understand True. Could you check if doing a small dictionary comprehension helps and make a PR?

    def do(self, method: str, path: str, query: dict = None, body: dict = None, raw: bool = False) -> dict:
        headers = {'Accept': 'application/json', 'User-Agent': self._user_agent_base}
        response = self._session.request(method,
                                         f"{self._cfg.host}{path}",
                                         params=query,
                                         json=body,
                                         headers=headers)

from databricks-sdk-py.

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.