AlchemicalEntry
Bases: Generic[T]
An entry in a queue.
Attributes:
| Name | Type | Description |
|---|---|---|
entry_id |
int
|
the identifier of the entry. Guaranteed unique per AlchemicalQueues instance. |
enqueued_at |
datetime
|
when the entry was added to the queue. |
schedule_at |
datetime | None
|
do not remove the entry from the queue before this time. |
priority |
int
|
the priority of the entry. |
data |
T
|
the data stored in this entry. |
claim_token |
int | None
|
identifies this specific claim, if this entry
came from AlchemicalTaskQueue.get
( |
Source code in src/alchemical_queues/main.py
1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 | |