# google-auth 2.62.0 (Apache-2.0), harvested by tools/harvest_corpus.py
=== input

    timeout_guard is an asynchronous context manager to apply a timeout to an asynchronous block of code.

    Args:
        timeout (float): The time in seconds before the context manager times out.

    Raises:
        google.auth.exceptions.TimeoutError: If the code within the context exceeds the provided timeout.

    Usage:
        async with timeout_guard(10) as with_timeout:
            await with_timeout(async_function())
    
=== parse google
short_description: 'timeout_guard is an asynchronous context manager to apply a timeout to an asynchronous block of code.'
long_description: |
  Usage:
      async with timeout_guard(10) as with_timeout:
          await with_timeout(async_function())
blank_after_short_description: True
blank_after_long_description: True
style: google
- DocstringParam
  description: 'The time in seconds before the context manager times out.'
  kind: param
  key: 'param'
  arg_name: 'timeout'
  type_name: 'float'
  is_optional: False
- DocstringRaises
  description: 'If the code within the context exceeds the provided timeout.'
  kind: raises
  key: 'raises'
  type_name: 'google.auth.exceptions.TimeoutError'
=== detect
google
=== compose google
timeout_guard is an asynchronous context manager to apply a timeout to an asynchronous block of code.

Usage:
    async with timeout_guard(10) as with_timeout:
        await with_timeout(async_function())

Args:
    timeout (float): The time in seconds before the context manager times out.

Raises:
    google.auth.exceptions.TimeoutError: If the code within the context exceeds the provided timeout.
