Skip to content

Commit

Permalink
Add "timedOut" as job state in Viya
Browse files Browse the repository at this point in the history
  • Loading branch information
Dario Koltunowicz authored and AndrewShakinovsky-SAS committed Jul 15, 2024
1 parent 87e1cf7 commit 7be7439
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = sas-airflow-provider
version = 0.0.15
version = 0.0.16
author = SAS
author_email = [email protected]
description = Enables execution of Studio Flows and Jobs from Airflow
Expand Down
3 changes: 3 additions & 0 deletions src/sas_airflow_provider/operators/sas_studio.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ def execute(self, context):

elif job_state == "timed out":
raise AirflowException("SAS Studio Execution has timed out. See log for details ")

elif job_state == "timedOut":
raise AirflowException("SAS Studio Execution has timed out. See log for details ")

return 1

Expand Down

0 comments on commit 7be7439

Please sign in to comment.