# rich 15.0.0 (MIT), harvested by tools/harvest_corpus.py
=== input
Track progress file reading from a binary file.

        Args:
            file (BinaryIO): A file-like object opened in binary mode.
            total (int, optional): Total number of bytes to read. This must be provided unless a task with a total is also given.
            task_id (TaskID): Task to track. Default is new task.
            description (str, optional): Description of task, if new task is created.

        Returns:
            BinaryIO: A readable file-like object in binary mode.

        Raises:
            ValueError: When no total value can be extracted from the arguments or the task.
        
=== parse google
short_description: 'Track progress file reading from a binary file.'
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: 'A file-like object opened in binary mode.'
  kind: param
  key: 'param'
  arg_name: 'file'
  type_name: 'BinaryIO'
  is_optional: False
- DocstringParam
  description: 'Total number of bytes to read. This must be provided unless a task with a total is also given.'
  kind: param
  key: 'param'
  arg_name: 'total'
  type_name: 'int'
  is_optional: True
  raw_type_name: 'int, optional'
- DocstringParam
  description: 'Task to track. Default is new task.'
  kind: param
  key: 'param'
  arg_name: 'task_id'
  type_name: 'TaskID'
  is_optional: False
- DocstringParam
  description: 'Description of task, if new task is created.'
  kind: param
  key: 'param'
  arg_name: 'description'
  type_name: 'str'
  is_optional: True
  raw_type_name: 'str, optional'
- DocstringReturns
  description: 'A readable file-like object in binary mode.'
  kind: returns
  key: 'returns'
  type_name: 'BinaryIO'
  is_generator: False
- DocstringRaises
  description: 'When no total value can be extracted from the arguments or the task.'
  kind: raises
  key: 'raises'
  type_name: 'ValueError'
=== detect
google
=== compose google
Track progress file reading from a binary file.

Args:
    file (BinaryIO): A file-like object opened in binary mode.
    total (int, optional): Total number of bytes to read. This must be provided unless a task with a total is also given.
    task_id (TaskID): Task to track. Default is new task.
    description (str, optional): Description of task, if new task is created.

Returns:
    BinaryIO: A readable file-like object in binary mode.

Raises:
    ValueError: When no total value can be extracted from the arguments or the task.
