src/dependencies/contrib/_rest_framework.py
def api_view(injector):
    """Create DRF class-based API view from injector class."""

    handler = create_handler(APIView, injector)
    apply_http_methods(handler, injector)
    apply_api_view_methods(handler, injector)
    return injector.let(as_view=handler.as_view)
def api_view(injector):
    handler = create_handler(APIView, injector)
    apply_http_methods(handler, injector)
    apply_api_view_methods(handler, injector)
    return injector.let(as_view=handler.as_view)
def api_view ( injector ) : handler = create_handler ( APIView , injector ) apply_http_methods ( handler , injector ) apply_api_view_methods ( handler , injector ) return injector . let ( as_view = handler . as_view )
Create DRF class-based API view from injector class.
Create DRF class - based API view from injector class .