Skip to main content

Raw file

RawFile​

Returned by: JinkoClient.get_raw_file, JinkoClient.iter_raw_files, JinkoClient.list_raw_files

Also has every member of ProjectItem.

MemberKindDescription
contentmethod
file_sizepropertyReturn the raw file size in bytes.
content_typepropertyReturn the raw file MIME content type.
file_namepropertyReturn the raw file name.

content​

content(*, revision: int | None = None) -> Any

file_size​

Type: int

Return the raw file size in bytes.

content_type​

Type: str

Return the raw file MIME content type.

file_name​

Type: str

Return the raw file name.