afbmq/fb.py
def request_timeout(self, timeout: typing.Union[int, float, aiohttp.ClientTimeout]):
        """
        Context manager implements opportunity to change request timeout in current context

        :param timeout: Request timeout
        :type timeout: :obj:`typing.Optional[typing.Union[base.Integer, base.Float, aiohttp.ClientTimeout]]`
        :return:
        """
        timeout = self._prepare_timeout(timeout)
        token = self._ctx_timeout.set(timeout)
        try:
            yield
        finally:
            self._ctx_timeout.reset(token)

        Context manager implements opportunity to change request timeout in current context

        :param timeout: Request timeout
        :type timeout: :obj:`typing.Optional[typing.Union[base.Integer, base.Float, aiohttp.ClientTimeout]]`
        :return:
        
Context manager implements opportunity to change request timeout in current context
Context manager implements opportunity to change request timeout in current context
def request_timeout(self, timeout: typing.Union[int, float, aiohttp.ClientTimeout]):
        timeout = self._prepare_timeout(timeout)
        token = self._ctx_timeout.set(timeout)
        try:
            yield
        finally:
            self._ctx_timeout.reset(token)
def request_timeout ( self , timeout : typing . Union [ int , float , aiohttp . ClientTimeout ] ) : timeout = self . _prepare_timeout ( timeout ) token = self . _ctx_timeout . set ( timeout ) try : yield finally : self . _ctx_timeout . reset ( token )
Context manager implements opportunity to change request timeout in current context
Context manager implements opportunity to change request timeout in current context
"""
        Context manager implements opportunity to change request timeout in current context

        :param timeout: Request timeout
        :type timeout: :obj:`typing.Optional[typing.Union[base.Integer, base.Float, aiohttp.ClientTimeout]]`
        :return:
        """
None
self
timeout
typing.Union[int, float, aiohttp.ClientTimeout]
None