jroachgolf84 commented on code in PR #67962:
URL: https://github.com/apache/airflow/pull/67962#discussion_r3463925147
##########
providers/http/src/airflow/providers/http/operators/http.py:
##########
@@ -209,6 +209,12 @@ def paginate_sync(self, response: Response) -> Response |
list[Response]:
return all_responses
def execute_async(self, context: Context) -> None:
+ if self.method.upper() not in ("GET", "HEAD", "OPTIONS"):
+ self.log.warning(
+ "HttpOperator with deferrable=True and method=%s may send
duplicate requests if the Triggerer restarts.",
+ self.method,
+ )
Review Comment:
Not sure that makes sense. That's not how the `HttpTrigger` works (polling
for a request that's already been kicked off). That would mean pretty
significant changes (if they were even possible) to the Trigger in order to
support this behavior.
--
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]