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/09/30 03:04:12 UTC
[GitHub] [airflow] josh-fell opened a new pull request #18620: Adding a default conn ID value for Apache Cassandra sensors
josh-fell opened a new pull request #18620:
URL: https://github.com/apache/airflow/pull/18620
Currently the Cassandra sensors, `CassandraRecordSensor` and `CassandraTableSensor`, do not have a default value for the `cassandra_conn_id` parameter even though one is set within the `CassandraHook`. Because of this, users are required to explicitly pass in an arg for the `cassandra_conn_id` when using the sensors in pipelines. The missing default value for the connection ID does not follow the typical pattern for developing operators/sensors.
This PR adds this default value for the sensor modules.
---
**^ Add meaningful description above**
Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)** for more information.
In case of fundamental code change, Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)) is needed.
In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
In case of backwards incompatible changes please leave a note in [UPDATING.md](https://github.com/apache/airflow/blob/main/UPDATING.md).
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk merged pull request #18620: Adding a default conn ID value for Apache Cassandra sensors
Posted by GitBox <gi...@apache.org>.
potiuk merged pull request #18620:
URL: https://github.com/apache/airflow/pull/18620
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org