class documentation
class UninitializedInstanceAttributeMixin(DataDocumenterMixinBase): (source)
Known subclasses: sphinx.ext.autodoc.AttributeDocumenter
Mixin for AttributeDocumenter to provide the feature for supporting uninitialized instance attributes (PEP-526 styled, annotation only attributes). Example: class Foo: attr: int #: This is a target of this mix-in.
Method | get |
Undocumented |
Method | import |
Check the exisitence of uninitialized instance attribute when failed to import the attribute. |
Method | is |
Check the subject is an annotation only attribute. |
Method | should |
Check :value: header should be suppressed. |
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 |