sift_py.file_attachment.entity
¶
Entities represent things that files can be attached to.
| CLASS | DESCRIPTION |
|---|---|
Entity |
An abstract entity that represents the thing that we want to attach files to. |
EntityType |
Represents the types of entities that supports file attachments. |
Entity
¶
Entity(entity_id: str, entity_type: EntityType)
An abstract entity that represents the thing that we want to attach files to.
| ATTRIBUTE | DESCRIPTION |
|---|---|
entity_id |
TYPE:
|
entity_type |
TYPE:
|
EntityType
¶
Bases: Enum
Represents the types of entities that supports file attachments.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ANNOTATION |
|
ANNOTATION_LOG |
|
RUN |
|