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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
