# jsonargparse 4.53.0 (MIT), harvested by tools/harvest_corpus.py
=== input
Creates a dynamic class which if instantiated is equivalent to calling func.

    Args:
        func: A function that returns an instance of a class.
        func_return: The return type of the function. Required if func does not have a return type annotation.
        name: The name of the class. Defaults to function name suffixed with ``_class``.
    
=== parse google
short_description: 'Creates a dynamic class which if instantiated is equivalent to calling func.'
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: 'A function that returns an instance of a class.'
  kind: param
  key: 'param'
  arg_name: 'func'
  is_optional: False
- DocstringParam
  description: 'The return type of the function. Required if func does not have a return type annotation.'
  kind: param
  key: 'param'
  arg_name: 'func_return'
  is_optional: False
- DocstringParam
  description: 'The name of the class. Defaults to function name suffixed with ``_class``.'
  kind: param
  key: 'param'
  arg_name: 'name'
  is_optional: False
=== detect
google
=== compose google
Creates a dynamic class which if instantiated is equivalent to calling func.

Args:
    func: A function that returns an instance of a class.
    func_return: The return type of the function. Required if func does not have a return type annotation.
    name: The name of the class. Defaults to function name suffixed with ``_class``.
