Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a default conn ID value for Apache Cassandra sensors #18620

Merged
merged 1 commit into from
Sep 30, 2021

Conversation

josh-fell
Copy link
Contributor

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 for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants