def aiohttp_socket_timeout(socket_timeout_s):
  """ Return a aiohttp.ClientTimeout object with only socket timeouts set. """
  return aiohttp.ClientTimeout(total=None,
                               connect=None,
                               sock_connect=socket_timeout_s,
                               sock_read=socket_timeout_s)
def aiohttp_socket_timeout ( socket_timeout_s ) : return aiohttp . ClientTimeout ( total = None , connect = None , sock_connect = socket_timeout_s , sock_read = socket_timeout_s )
Return a aiohttp.ClientTimeout object with only socket timeouts set.