Skip to content

Conversation

@rawwar
Copy link
Contributor

@rawwar rawwar commented Oct 11, 2024

As of now, the method passed via HttpOperator in deferrable mode is not being serialized. Hence, during the deferrable mode, HttpSensor ends up always making GET requests instead of the method originally intended

@Lee-W
Copy link
Member

Lee-W commented Oct 11, 2024

Overall, looks good. Let's change the TEST_METHOD in unit tests to non POST method and create one unit test that does not pass method into __init__

@rawwar
Copy link
Contributor Author

rawwar commented Oct 11, 2024

Overall, looks good. Let's change the TEST_METHOD in unit tests to non POST method and create one unit test that does not pass method into __init__

Added a test that does pass POST and checks if POST is being returned by serializer. Earlier, this test would have failed as method is defaulted to GET.

@Lee-W Lee-W merged commit 0372743 into apache:main Oct 11, 2024
@rawwar rawwar deleted the kalyan/fix/httpsensor branch October 11, 2024 07:33
kunaljubce pushed a commit to kunaljubce/airflow that referenced this pull request Oct 13, 2024
pavansharma36 pushed a commit to pavansharma36/airflow that referenced this pull request Oct 14, 2024
R7L208 pushed a commit to R7L208/airflow that referenced this pull request Oct 17, 2024
harjeevanmaan pushed a commit to harjeevanmaan/airflow that referenced this pull request Oct 23, 2024
PaulKobow7536 pushed a commit to PaulKobow7536/airflow that referenced this pull request Oct 24, 2024
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants