We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
time_remaining_secs
MIGRATING
1 parent ae0d328 commit 05115ebCopy full SHA for 05115eb
src/crawlee/events/_types.py
@@ -59,6 +59,10 @@ class EventMigratingData(BaseModel):
59
60
model_config = ConfigDict(populate_by_name=True)
61
62
+ # The remaining time in seconds before the migration is forced and the process is killed
63
+ # Optional because it's not present when the event handler is called manually
64
+ time_remaining_secs: Annotated[float | None, Field(alias='timeRemainingSecs')]
65
+
66
67
@docs_group('Event payloads')
68
class EventAbortingData(BaseModel):
0 commit comments