# jsonargparse 4.53.0 (MIT), harvested by tools/harvest_corpus.py
=== input
Creates or returns an already registered restricted number type class.

    Args:
        name: Name for the type or ``None`` for an automatic name.
        base_type: One of ``{int, float}``.
        restrictions: Tuples of pairs (comparison, reference), e.g. ``('>', 0)``.
        join: How to combine multiple comparisons, one of ``{'or', 'and'}``.
        docstring: Docstring for the type class.

    Returns:
        The created or retrieved type class.
    
=== parse google
short_description: 'Creates or returns an already registered restricted number type class.'
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: 'Name for the type or ``None`` for an automatic name.'
  kind: param
  key: 'param'
  arg_name: 'name'
  is_optional: False
- DocstringParam
  description: 'One of ``{int, float}``.'
  kind: param
  key: 'param'
  arg_name: 'base_type'
  is_optional: False
- DocstringParam
  description: "Tuples of pairs (comparison, reference), e.g. ``('>', 0)``."
  kind: param
  key: 'param'
  arg_name: 'restrictions'
  is_optional: False
- DocstringParam
  description: "How to combine multiple comparisons, one of ``{'or', 'and'}``."
  kind: param
  key: 'param'
  arg_name: 'join'
  is_optional: False
- DocstringParam
  description: 'Docstring for the type class.'
  kind: param
  key: 'param'
  arg_name: 'docstring'
  is_optional: False
- DocstringReturns
  description: 'The created or retrieved type class.'
  kind: returns
  key: 'returns'
  is_generator: False
=== detect
google
=== compose google
Creates or returns an already registered restricted number type class.

Args:
    name: Name for the type or ``None`` for an automatic name.
    base_type: One of ``{int, float}``.
    restrictions: Tuples of pairs (comparison, reference), e.g. ``('>', 0)``.
    join: How to combine multiple comparisons, one of ``{'or', 'and'}``.
    docstring: Docstring for the type class.

Returns:
    The created or retrieved type class.
