class documentation
class RuntimeInstanceAttributeMixin(DataDocumenterMixinBase): (source)
Known subclasses: sphinx.ext.autodoc.AttributeDocumenter
Mixin for AttributeDocumenter to provide the feature for supporting runtime instance attributes (that are defined in __init__() methods with doc-comments). Example: class Foo: def __init__(self): self.attr = None #: This is a target of this mix-in.
Method | get |
Undocumented |
Method | import |
Check the existence of runtime instance attribute after failing to import the attribute. |
Method | is |
Check the subject is an attribute defined in __init__(). |
Method | is |
Check the subject is an attribute defined in __init__() without comment. |
Method | should |
Check :value: header should be suppressed. |
Constant | RUNTIME |
Undocumented |
Inherited from DataDocumenterMixinBase
:
Method | should |
Check directive header should be suppressed. |
Method | update |
Update docstring, for example with TypeVar variance. |
Class Variable | config |
Undocumented |
Class Variable | env |
Undocumented |
Class Variable | modname |
Undocumented |
Class Variable | object |
Undocumented |
Class Variable | objpath |
Undocumented |
Class Variable | parent |
Undocumented |
overridden in
sphinx.ext.autodoc.AttributeDocumenter
Check :value: header should be suppressed.
Returns | |
bool | Undocumented |