Skip to content

markdown_refdocs/types

Parsed

Parsed: TypedDict = TypedDict(
    'Parsed', {'name': str, 'source_code': str, 'hidden': bool}, total=False
)

Attributes

  • name (str)
  • source_code (str)
  • hidden (bool)

ADMONITIONS

ADMONITIONS = [
    'warning',
    'note',
    'info',
    'bug',
    'tip',
    'question',
    'failure',
    'danger',
    'quote',
    'todo',
]

class ParsedParameter

inherits Parsed

Attributes

  • default_value (str)
  • type (str)
  • description (str)

class ParsedReturn

inherits TypedDict

Attributes

  • type (str)
  • description (str)

class ParsedFunction

inherits Parsed

Result of the combination of parsing the source code and combining with the docstring of a function

Attributes

  • parameters (List[ParsedParameter])
  • returns (ParsedReturn)
  • note (str)
  • raises (List[str])
  • examples (List[str])
  • description (str)
  • is_static (bool)
  • is_method (bool)
  • is_class_method (bool)
  • is_getter (bool)

class ParsedDocstring

inherits TypedDict

Attributes

class ParsedVariable

inherits Parsed

Attributes

  • type (str)
  • description (str)
  • value (str)
  • attributes (List[Parsed])

class ParsedClass

inherits Parsed

Attributes

class ParsedModule

inherits Parsed

Attributes