Giter Site home page Giter Site logo

ToArray() about azure-cosmos-python HOT 6 CLOSED

azure avatar azure commented on July 18, 2024
ToArray()

from azure-cosmos-python.

Comments (6)

rnagpal avatar rnagpal commented on July 18, 2024 1

Will take a look at pep8 convention and hopefully make the Python SDK complaint with it. Reopening this so that we can track this.

from azure-cosmos-python.

shipunyc avatar shipunyc commented on July 18, 2024

Thanks for the feedback. We translated the Python SDK from other SDKs and tried to make it consistent with them, so it's not pythonic enough. I will discuss with the team and hopefully can change the naming convention in the new version.

from azure-cosmos-python.

shipunyc avatar shipunyc commented on July 18, 2024

Removed ToArray. Now you can use list(XXX) instead of XXX.ToArray()

No change to the naming convention for now. Our discussion result was that as long as it's consistent (with itself and other SDKs), it's OK. But I'm open to change it in the future if people ask.

from azure-cosmos-python.

ahmetb avatar ahmetb commented on July 18, 2024

@shipunyc what do you mean by other SDKs? Azure Python SDK's method names do comply with pep8. https://github.com/Azure/azure-sdk-for-python/blob/master/README.md

from azure-cosmos-python.

ahmetb avatar ahmetb commented on July 18, 2024

@rnagpal great to hear, I hope it follows Python coding idioms completely; not just pep8.

from azure-cosmos-python.

southpolesteve avatar southpolesteve commented on July 18, 2024

Closing this issue due to age. Active development of our Python SDK has moved to https://github.com/Azure/azure-sdk-for-python. We have also released 4.0 which includes many updates and new features. If this issue still needs our attention, please reopen it in the new repository.

from azure-cosmos-python.

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.