stamixthereal commented on code in PR #28619:
URL: https://github.com/apache/airflow/pull/28619#discussion_r1061615257
##########
airflow/api/client/json_client.py:
##########
@@ -40,63 +55,99 @@ def _request(self, url, method="GET", json=None):
except Exception:
data = {}
raise OSError(data.get("error", "Server error"))
-
return resp.json()
def trigger_dag(self, dag_id, run_id=None, conf=None, execution_date=None,
replace_microseconds=True):
+ """Trigger a DAG run.
Review Comment:
Is it okay?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]