Skip to content

Attachment

Note

The following classes come from the scurrypy.parts.attachment module.


AttachmentPart dataclass

Bases: DataModel

Represents an attachment.

path: str = None class-attribute instance-attribute

Relative path to the file.

description: str = None class-attribute instance-attribute

Description of the file.

id: int = field(init=False, default=None) class-attribute instance-attribute

ID of the attachment (internally set).

to_dict