Skip to main content

Extract

Extract​

Returned by: JinkoClient.create_extract, JinkoClient.get_extract, JinkoClient.iter_extracts, JinkoClient.list_extracts, Reference.create_extract, Reference.create_extract_from_pdf_quote, Reference.iter_extracts, Reference.list_extracts

Also has every member of ProjectItem.

MemberKindDescription
renamemethod
set_descriptionmethod
move_to_foldermethod
sourcepropertyReturn the reference this extract belongs to.
formulationpropertyReturn the extract formulation text, if any.
classification_typepropertyReturn the extract classification type, if any.
classification_levelpropertyReturn the extract classification level, if any.
highlightspropertyReturn the highlights belonging to this extract.

rename​

rename(name: str, *, version: str | dict | None = None) -> Self

set_description​

set_description(
description: str, *, version: str | dict | None = None
) -> Self

move_to_folder​

move_to_folder(
folder: Any = None, *, version: str | dict | None = None
) -> Self

source​

Type: Reference

Return the reference this extract belongs to.

formulation​

Type: str | None

Return the extract formulation text, if any.

classification_type​

Type: Literal['Statement', 'Hypothesis', 'Data'] | None

Return the extract classification type, if any.

classification_level​

Type: Literal['Weak', 'Medium', 'Strong', 'Excellent'] | None

Return the extract classification level, if any.

highlights​

Type: list[Highlight]

Return the highlights belonging to this extract.

Highlight​

An API highlight belonging to an extract.

Highlight fields are intentionally exposed without schema validation so the SDK remains usable when the API adds fields or changes optional values.

Returned by: Extract.highlights

MemberKindDescription
parent_extractattribute
idproperty
typeproperty
textproperty
fileproperty
latexproperty
data_tableproperty
anchorsproperty
colorproperty
created_atproperty
updated_atproperty
urlproperty

parent_extract​

id​

Type: Any

type​

Type: Any

text​

Type: Any

file​

Type: Any

latex​

Type: Any

data_table​

Type: Any

anchors​

Type: Any

color​

Type: Any

created_at​

Type: Any

updated_at​

Type: Any

url​

Type: str