submission_cli.AbortReason

submission_cli.AbortReason()

Named failure categories for :class:SubmissionAbort.

These correspond to the gate-check steps in the submission pipeline; the mapping to numeric exit codes is left to the caller.

Members:

Examples:

::: {#f3e4318a .cell execution_count=1}
``` {.python .cell-code}
from spotforecast2_safe.submission_cli import AbortReason

print(list(AbortReason))
print(AbortReason.DATE.name)
```

::: {.cell-output .cell-output-stdout}
```
[<AbortReason.DATE: 'DATE'>, <AbortReason.INTERIM_MISSING: 'INTERIM_MISSING'>, <AbortReason.COVERAGE: 'COVERAGE'>, <AbortReason.STALE_CACHE: 'STALE_CACHE'>, <AbortReason.DOWNLOAD_UNRECOVERABLE: 'DOWNLOAD_UNRECOVERABLE'>]
DATE
```
:::
:::