Skip to content

Span

Structure Class

Span dataclass

Bases: _SerdeShape

Contains information about where the text with a citation begins and ends in the generated output.

This data type is used in the following API operations:

Attributes

end class-attribute instance-attribute
end: int | None = ...

Where the text with a citation ends in the generated output.

start class-attribute instance-attribute
start: int | None = ...

Where the text with a citation starts in the generated output.