Code Monkey home page Code Monkey logo

pycircleci's People

Contributors

alpinweis avatar gurchik avatar mikeyyeahyeah avatar mkly avatar moredatarequired avatar thalesmg avatar wyardley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pycircleci's Issues

Refactor with f-strings

If you're interested in moving to f-strings now that we've dropped support for old Python versions, let me know. I have it basically working.

Support API response pagination

For many important calls the API returns a { "items": [ ... ], "next_page_token": "string" } response. You need to use the next_page_token to get all the responses, but currently there is both no support from pycircleci to abstract this or a way to call your desired function with new next_page_token. So, one of the following improvements would be desirable:

  • Abstract away all pagination such that pycircleci gets all pages for a response and returns the combined items. Although this might not be desired from some people who want to implement their own pagination logic as they don't want all items
  • Add a next_page_token parameter to relevant pycircleci methods so that the user can call the function again to get the next page. Although some people would prefer if the library handled this for them so they don't need to write wrappers for all these pycircleci methods.

Please add mypy stubs to the project

type hinting checks are now common practice, and adding a stubs file (.pyi) that defines the public interfaces is good practice.

many thanks!

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.