From 4479904d90fe1b3db0b12f1caf5d4ec7c39f4b63 Mon Sep 17 00:00:00 2001 From: Anand Raman Date: Thu, 21 Mar 2024 16:20:50 -0500 Subject: [PATCH 1/5] docs typo fixes --- astronomer_starship/starship_api.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/astronomer_starship/starship_api.py b/astronomer_starship/starship_api.py index 3d61716..551461d 100644 --- a/astronomer_starship/starship_api.py +++ b/astronomer_starship/starship_api.py @@ -30,9 +30,9 @@ def starship_route( kwargs = ( kwargs_fn( request_method=request_method, - args=request.args - if request_method in ["GET", "POST", "DELETE"] - else {}, + args=( + request.args if request_method in ["GET", "POST", "DELETE"] else {} + ), json=(request.json if request.is_json else {}), ) if kwargs_fn @@ -458,8 +458,8 @@ def dag_runs(self): | data_interval_start | >2.1 | date | 1970-01-01T00:00:00+00:00 | | data_interval_end | >2.1 | date | 1970-01-01T00:00:00+00:00 | | last_scheduling_decision | | date | 1970-01-01T00:00:00+00:00 | - | dash_hash | | str | ... | - | clean_number | >=2.8 | int | 0 | + | dag_hash | | str | ... | + | clear_number | >=2.8 | int | 0 | """ return starship_route( get=starship_compat.get_dag_runs, From 824cdca0d402b6ebf2d8c2d3ce76fbcc178de30f Mon Sep 17 00:00:00 2001 From: Anand Raman Date: Thu, 21 Mar 2024 16:34:21 -0500 Subject: [PATCH 2/5] revert formatting change --- astronomer_starship/starship_api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/astronomer_starship/starship_api.py b/astronomer_starship/starship_api.py index 551461d..963c0cc 100644 --- a/astronomer_starship/starship_api.py +++ b/astronomer_starship/starship_api.py @@ -30,9 +30,9 @@ def starship_route( kwargs = ( kwargs_fn( request_method=request_method, - args=( - request.args if request_method in ["GET", "POST", "DELETE"] else {} - ), + args=request.args + if request_method in ["GET", "POST", "DELETE"] + else {}, json=(request.json if request.is_json else {}), ) if kwargs_fn From 28c073e73142b7cdaa8b7193da3d7a1b5af663df Mon Sep 17 00:00:00 2001 From: Anand Raman Date: Thu, 21 Mar 2024 16:34:55 -0500 Subject: [PATCH 3/5] revert formatting change --- astronomer_starship/starship_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/astronomer_starship/starship_api.py b/astronomer_starship/starship_api.py index 963c0cc..4246bc6 100644 --- a/astronomer_starship/starship_api.py +++ b/astronomer_starship/starship_api.py @@ -30,8 +30,8 @@ def starship_route( kwargs = ( kwargs_fn( request_method=request_method, - args=request.args - if request_method in ["GET", "POST", "DELETE"] + args=request.args + if request_method in ["GET", "POST", "DELETE"] else {}, json=(request.json if request.is_json else {}), ) From 622d66a3fdfd6a3d95b73d05e6f2f58ff4f982e3 Mon Sep 17 00:00:00 2001 From: Anand Raman Date: Thu, 21 Mar 2024 16:49:52 -0500 Subject: [PATCH 4/5] increment minor version --- astronomer_starship/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astronomer_starship/__init__.py b/astronomer_starship/__init__.py index 58c1905..ff70d30 100644 --- a/astronomer_starship/__init__.py +++ b/astronomer_starship/__init__.py @@ -1,4 +1,4 @@ -__version__ = "2.0.1" +__version__ = "2.0.2" def get_provider_info(): From 9f1eaf127c5bdc3b4334ffb63a3c18ff8c8d4403 Mon Sep 17 00:00:00 2001 From: Anand Raman Date: Thu, 21 Mar 2024 17:06:44 -0500 Subject: [PATCH 5/5] revert increment --- astronomer_starship/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astronomer_starship/__init__.py b/astronomer_starship/__init__.py index ff70d30..58c1905 100644 --- a/astronomer_starship/__init__.py +++ b/astronomer_starship/__init__.py @@ -1,4 +1,4 @@ -__version__ = "2.0.2" +__version__ = "2.0.1" def get_provider_info():