dstandish commented on code in PR #37293:
URL: https://github.com/apache/airflow/pull/37293#discussion_r1529377720
##########
airflow/providers/http/hooks/http.py:
##########
@@ -320,6 +320,7 @@ async def run(
data: dict[str, Any] | str | None = None,
headers: dict[str, Any] | None = None,
extra_options: dict[str, Any] | None = None,
+ data_type: Literal["json", "dict"] = "json",
Review Comment:
yeah i think your first attempt was the best move:
https://github.com/apache/airflow/pull/37293/commits/01fee3ef57b28b6c5cbe551e982e04278df7a7ef
it was just a bug. json should go to json, and data to data, no?
you can make breaking changes cus it's provider and just bump major
--
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]