kedro-org / kedro

Kedro is a toolbox for production-ready data science. It uses software engineering best practices to help you create data engineering and data science pipelines that are reproducible, maintainable, and modular.
https://kedro.org
Apache License 2.0
9.47k stars 875 forks source link

Add implementation of telemetry consent flag for kedro run #3876

Closed lrcouto closed 1 month ago

lrcouto commented 1 month ago

Description

Adds the --telemetry flag to kedro run, similar to the one in kedro new. Allows consent to telemetry to be granted or revoked at the same time as the run command is called.

Works together with https://github.com/kedro-org/kedro-plugins/pull/681, that is required so the user will not receive the prompt to grant consent if it's given through the CLI flag.

Development notes

Developer Certificate of Origin

We need all contributions to comply with the Developer Certificate of Origin (DCO). All commits must be signed off by including a Signed-off-by line in the commit message. See our wiki for guidance.

If your PR is blocked due to unsigned commits, then you must follow the instructions under "Rebase the branch" on the GitHub Checks page for your PR. This will retroactively add the sign-off to all unsigned commits and allow the DCO check to pass.

Checklist