You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/06/09 04:29:25 UTC

[GitHub] [airflow] ekarsten commented on pull request #16341: Pass parameters to PostgresHook from PostgresOperator

ekarsten commented on pull request #16341:
URL: https://github.com/apache/airflow/pull/16341#issuecomment-857363291


   The `extra` kwarg is used in a few places in the `PostgresHook`. For example line 91 [here](https://github.com/apache/airflow/blob/main/airflow/providers/postgres/hooks/postgres.py#L91). The usage of extras is documented [here](https://airflow.apache.org/docs/apache-airflow-providers-postgres/stable/_api/airflow/providers/postgres/hooks/postgres/index.html). I believe it is inherited from the [connection class](https://github.com/apache/airflow/blob/main/airflow/models/connection.py).


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org