Skip to content

Commit ddd6fc0

Browse files
Fix bug - Invalid type for variable for execution_timeout and dag_run_timeout (#53) (#76)
(cherry picked from commit f32517a) Co-authored-by: David Katz <41651296+DavidKatz-il@users.noreply.github.com>
1 parent b08f464 commit ddd6fc0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

airflow_client/client/model/dag_detail_all_of.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def openapi_types():
110110
'orientation': (str,), # noqa: E501
111111
'concurrency': (float,), # noqa: E501
112112
'start_date': (datetime, none_type,), # noqa: E501
113-
'dag_run_timeout': (TimeDelta,), # noqa: E501
113+
'dag_run_timeout': (TimeDelta, none_type,), # noqa: E501
114114
'doc_md': (str, none_type,), # noqa: E501
115115
'default_view': (str,), # noqa: E501
116116
'params': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501
@@ -200,7 +200,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
200200
orientation (str): [optional] # noqa: E501
201201
concurrency (float): [optional] # noqa: E501
202202
start_date (datetime, none_type): The DAG's start date. *Changed in version 2.0.1*&#58; Field becomes nullable. . [optional] # noqa: E501
203-
dag_run_timeout (TimeDelta): [optional] # noqa: E501
203+
dag_run_timeout (TimeDelta, none_type): [optional] # noqa: E501
204204
doc_md (str, none_type): [optional] # noqa: E501
205205
default_view (str): [optional] # noqa: E501
206206
params ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): User-specified DAG params. *New in version 2.0.1* . [optional] # noqa: E501
@@ -295,7 +295,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
295295
orientation (str): [optional] # noqa: E501
296296
concurrency (float): [optional] # noqa: E501
297297
start_date (datetime, none_type): The DAG's start date. *Changed in version 2.0.1*&#58; Field becomes nullable. . [optional] # noqa: E501
298-
dag_run_timeout (TimeDelta): [optional] # noqa: E501
298+
dag_run_timeout (TimeDelta, none_type): [optional] # noqa: E501
299299
doc_md (str, none_type): [optional] # noqa: E501
300300
default_view (str): [optional] # noqa: E501
301301
params ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): User-specified DAG params. *New in version 2.0.1* . [optional] # noqa: E501

airflow_client/client/model/task.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def openapi_types():
131131
'queue': (str, none_type,), # noqa: E501
132132
'pool': (str,), # noqa: E501
133133
'pool_slots': (float,), # noqa: E501
134-
'execution_timeout': (TimeDelta,), # noqa: E501
134+
'execution_timeout': (TimeDelta, none_type,), # noqa: E501
135135
'retry_delay': (TimeDelta,), # noqa: E501
136136
'retry_exponential_backoff': (bool,), # noqa: E501
137137
'priority_weight': (float,), # noqa: E501
@@ -246,7 +246,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
246246
queue (str, none_type): [optional] # noqa: E501
247247
pool (str): [optional] # noqa: E501
248248
pool_slots (float): [optional] # noqa: E501
249-
execution_timeout (TimeDelta): [optional] # noqa: E501
249+
execution_timeout (TimeDelta, none_type): [optional] # noqa: E501
250250
retry_delay (TimeDelta): [optional] # noqa: E501
251251
retry_exponential_backoff (bool): [optional] # noqa: E501
252252
priority_weight (float): [optional] # noqa: E501
@@ -351,7 +351,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
351351
queue (str, none_type): [optional] # noqa: E501
352352
pool (str): [optional] # noqa: E501
353353
pool_slots (float): [optional] # noqa: E501
354-
execution_timeout (TimeDelta): [optional] # noqa: E501
354+
execution_timeout (TimeDelta, none_type): [optional] # noqa: E501
355355
retry_delay (TimeDelta): [optional] # noqa: E501
356356
retry_exponential_backoff (bool): [optional] # noqa: E501
357357
priority_weight (float): [optional] # noqa: E501

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy