Skip to content

Commit

Permalink
Fix bug - Invalid type for variable for execution_timeout and dag_run…
Browse files Browse the repository at this point in the history
…_timeout (#53) (#76) (#87)

(cherry picked from commit f32517a)

Co-authored-by: David Katz <41651296+DavidKatz-il@users.noreply.github.com>
(cherry picked from commit ddd6fc0)

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
  • Loading branch information
pierrejeambrun and ephraimbuddy authored Jun 21, 2023
1 parent 8ea7238 commit dddb7a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions airflow_client/client/model/dag_detail_all_of.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def openapi_types():
'orientation': (str,), # noqa: E501
'concurrency': (float,), # noqa: E501
'start_date': (datetime, none_type,), # noqa: E501
'dag_run_timeout': (TimeDelta,), # noqa: E501
'dag_run_timeout': (TimeDelta, none_type,), # noqa: E501
'doc_md': (str, none_type,), # noqa: E501
'default_view': (str,), # noqa: E501
'params': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501
Expand Down Expand Up @@ -200,7 +200,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
orientation (str): [optional] # noqa: E501
concurrency (float): [optional] # noqa: E501
start_date (datetime, none_type): The DAG's start date. *Changed in version 2.0.1*&#58; Field becomes nullable. . [optional] # noqa: E501
dag_run_timeout (TimeDelta): [optional] # noqa: E501
dag_run_timeout (TimeDelta, none_type): [optional] # noqa: E501
doc_md (str, none_type): [optional] # noqa: E501
default_view (str): [optional] # noqa: E501
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
Expand Down Expand Up @@ -295,7 +295,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
orientation (str): [optional] # noqa: E501
concurrency (float): [optional] # noqa: E501
start_date (datetime, none_type): The DAG's start date. *Changed in version 2.0.1*&#58; Field becomes nullable. . [optional] # noqa: E501
dag_run_timeout (TimeDelta): [optional] # noqa: E501
dag_run_timeout (TimeDelta, none_type): [optional] # noqa: E501
doc_md (str, none_type): [optional] # noqa: E501
default_view (str): [optional] # noqa: E501
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
Expand Down
6 changes: 3 additions & 3 deletions airflow_client/client/model/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def openapi_types():
'queue': (str, none_type,), # noqa: E501
'pool': (str,), # noqa: E501
'pool_slots': (float,), # noqa: E501
'execution_timeout': (TimeDelta,), # noqa: E501
'execution_timeout': (TimeDelta, none_type,), # noqa: E501
'retry_delay': (TimeDelta,), # noqa: E501
'retry_exponential_backoff': (bool,), # noqa: E501
'priority_weight': (float,), # noqa: E501
Expand Down Expand Up @@ -246,7 +246,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
queue (str, none_type): [optional] # noqa: E501
pool (str): [optional] # noqa: E501
pool_slots (float): [optional] # noqa: E501
execution_timeout (TimeDelta): [optional] # noqa: E501
execution_timeout (TimeDelta, none_type): [optional] # noqa: E501
retry_delay (TimeDelta): [optional] # noqa: E501
retry_exponential_backoff (bool): [optional] # noqa: E501
priority_weight (float): [optional] # noqa: E501
Expand Down Expand Up @@ -351,7 +351,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
queue (str, none_type): [optional] # noqa: E501
pool (str): [optional] # noqa: E501
pool_slots (float): [optional] # noqa: E501
execution_timeout (TimeDelta): [optional] # noqa: E501
execution_timeout (TimeDelta, none_type): [optional] # noqa: E501
retry_delay (TimeDelta): [optional] # noqa: E501
retry_exponential_backoff (bool): [optional] # noqa: E501
priority_weight (float): [optional] # noqa: E501
Expand Down

0 comments on commit dddb7a5

Please sign in to comment.