run_tracking
¶
Run tracking utilities for incremental processing.
Provides shared functionality for tracking last run timestamps and determining if incremental processing should occur.
IncrementalRunTracker
¶
Utility class for tracking incremental run timestamps.
Initialize the run tracker.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
AppConfig
|
Typed application configuration |
required |
Source code in src/core/run_tracking.py
get_last_run_file_path
¶
Get the path to the last run file.
Returns:
| Type | Description |
|---|---|
str
|
Path to the last incremental run log file |
Source code in src/core/run_tracking.py
update_last_run_timestamp
async
¶
Update the timestamp of the last incremental run.
Source code in src/core/run_tracking.py
get_last_run_timestamp
async
¶
Get the timestamp of the last incremental run.
Returns:
| Type | Description |
|---|---|
datetime | None
|
Last run timestamp or None if no previous run found |