Skip to content

DocumentationAttribute

QuantConnect.DocumentationAttribute

DocumentationAttribute(
    tag: str,
    weight: int = 0,
    line: int = 0,
    file_name: str = ...,
)

Bases: Attribute

Custom attribute used for documentation

Creates a new instance

tag

tag: str

The documentation tag

weight

weight: int

The associated weight of this attribute and tag

line

line: int

The associated line of this attribute

file_name

file_name: str

The associated file name of this attribute

type_id

type_id: Object

The attributes type id, we override it to ignore it when serializing