dashboard/modules/state/state_head.py
def _options_from_req(self, req) -> ListApiOptions:
        """Obtain `ListApiOptions` from the aiohttp request."""
        limit = int(req.query.get("limit"))
        timeout = int(req.query.get("timeout"))
        return ListApiOptions(limit=limit, timeout=timeout)
Obtain `ListApiOptions` from the aiohttp request.
Obtain `ListApiOptions` from the aiohttp request.
Obtain ` ListApiOptions ` from the aiohttp request .
def _options_from_req(self, req) -> ListApiOptions:
        limit = int(req.query.get("limit"))
        timeout = int(req.query.get("timeout"))
        return ListApiOptions(limit=limit, timeout=timeout)
def _options_from_req ( self , req ) -> ListApiOptions : limit = int ( req . query . get ( "limit" ) ) timeout = int ( req . query . get ( "timeout" ) ) return ListApiOptions ( limit = limit , timeout = timeout )
Obtain `ListApiOptions` from the aiohttp request.
Obtain ` ListApiOptions ` from the aiohttp request .
"""Obtain `ListApiOptions` from the aiohttp request."""
self
req