<reponame>gurtam-space/ajsonrpc<filename>ajsonrpc/backend/aiohttp_app/jsonrpc2_controller.py
from ajsonrpc.core import JSONRPC20Request


# jsonrpc2 base controller
class BaseJSONRPC20Controller:
    def __init__(self, request: JSONRPC20Request, *args, **kwargs):
        self._request = request

    @property
    def request(self) -> JSONRPC20Request:
        return self._request

from ajsonrpc.core import JSONRPC20Request


# jsonrpc2 base controller
class BaseJSONRPC20Controller:
    def __init__(self, request: JSONRPC20Request, *args, **kwargs):
        self._request = request

    @property
    def request(self) -> JSONRPC20Request:
        return self._request
# jsonrpc2 base controller