airflow.providers.openai.exceptions¶
Exceptions¶
Raise when OpenAI Batch Job fails to start AFTER processing the request. |
|
Raise when an OpenAI Batch Job was cancelled. |
|
Raise when OpenAI Batch Job times out. |
|
Raise when a deferred task resumes with a missing or malformed trigger event. |
|
Raise when a Managed Agents session fails or cannot run. |
Module Contents¶
- exception airflow.providers.openai.exceptions.OpenAIBatchJobException[source]¶
Bases:
airflow.providers.common.compat.sdk.AirflowExceptionRaise when OpenAI Batch Job fails to start AFTER processing the request.
- exception airflow.providers.openai.exceptions.OpenAIBatchCancelled[source]¶
Bases:
OpenAIBatchJobExceptionRaise when an OpenAI Batch Job was cancelled.
Cancellation is a decision, not a failure, so it gets its own subclass: callers that want to distinguish “someone cancelled this batch” from “the batch failed” can catch this specifically, while existing handlers written against
OpenAIBatchJobExceptionkeep working unchanged.
- exception airflow.providers.openai.exceptions.OpenAIBatchTimeout[source]¶
Bases:
airflow.providers.common.compat.sdk.AirflowExceptionRaise when OpenAI Batch Job times out.
- exception airflow.providers.openai.exceptions.OpenAITriggerEventError[source]¶
Bases:
airflow.providers.common.compat.sdk.AirflowExceptionRaise when a deferred task resumes with a missing or malformed trigger event.
- exception airflow.providers.openai.exceptions.OpenAIAgentSessionError[source]¶
Bases:
airflow.providers.common.compat.sdk.AirflowExceptionRaise when a Managed Agents session fails or cannot run.