arskom / spyne

A transport agnostic sync/async RPC library that focuses on exposing services with a well-defined API using popular protocols.
http://spyne.io
Other
1.13k stars 313 forks source link

how to use `throttle_classes` for spyne application with django #652

Closed chiragkanhasoft closed 3 years ago

chiragkanhasoft commented 3 years ago

I want to use throttle_classes for my API which has spyne application, i found below link to implement it in url.py file, but it is not working for spyne DjangoView.

Link for use classes in URL

i have tried like this.

url( r"^vapi/", (permission_classes([IsAuthenticated])(vapi_view.vapp)).as_view(application=vapi_view.vapp), ),

plq commented 3 years ago

no questions in the issue tracker. see https://github.com/arskom/spyne#getting-support