quickie.conditions.FirstRun
- class quickie.conditions.FirstRun(*, check_args: bool = False)
Check if the task is running for the first time.
Optionally, checks if the task is being run for the first time with the same arguments. Checking arguments only works if the arguments are hashable.
- __init__(*, check_args: bool = False)
Initialize the check.
- Parameters:
check_args – If True, check if the task is being run for the first time with the same arguments. Defaults to False. Note that the arguments must be hashable.
Methods
__init__(*[, check_args])Initialize the check.