allow extending HttpHook with requests adapters #44285
Labels
area:core-operators
Operators, Sensors and hooks within Core Airflow
good first issue
kind:feature
Feature Requests
Description
One of the factors making Python's
requests
library quite flexible is its use of transport adapters, allowing the user to further configure behavior.Airflow's built-in
HttpHook
tho unfortunately does not currently expose such functionality to the user.So far, I've found myself working around this by inheriting the hook with one adding such functionality, see below.
It would be nice tho to see the actual HttpHook extended with an extra parameter to expose this functionality to the user, foregoing the need for such sub-classes.
Use case/motivation
Adapters may help handle business logic surrounding HTTP requests, including:
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: