Giter Site home page Giter Site logo

dataclass-rest's People

Contributors

dark04072006 avatar forevka avatar ilya-nikolaev avatar kryseyt avatar kurokoka551 avatar lubaskinc0de avatar tdakkota avatar tishka17 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dataclass-rest's Issues

Rate limiter

  1. Per method or global one
  2. Sync and async
  3. Different strategies (raise or wait)
  4. Max RPS/RPM or max wait timeout

Authorization (question)

Hi!

Does your wrapper have the ability to send requests with an authentication token?
As a client I could provide an endpoint and authorization data, and in return I could receive, for example, a json web token. This assumes correct operation in a concurrent environment within one service instance and caching of the token until it expires

Print on PyPi package

In the get_query_params_schema method of the BoundMethod class, when installed using pip, print is called in this format print("get_query_params_schema", self.name,
self.query_params_schema_getter)

Json rpc

Add decorator to send json rpc requests instead of simple post

Support functions for URL generation

Sometimes URL is constructed in more complicated way than just string interpolation.
We can support it by allowing user to pass function as URL generator.

E.g

def url_generator(xxx: str):
    if not xxx:
       return "/me"
    return f"/users/{xxx}"

@get(url_generator)
def foo(self, xxx: str) ->Result:
   pass

[Feature] License

Hi! There are people who want to use this repo in their work. But our policies forbid usage of software without a license. Please add one that you think is suitable for this project.

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.