-
Notifications
You must be signed in to change notification settings - Fork 90
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
fix(telemetry): Let environment variables override consent from .telemetry file #791
Conversation
Signed-off-by: Laura Couto <[email protected]>
Signed-off-by: Laura Couto <[email protected]>
Signed-off-by: L. R. Couto <[email protected]>
Signed-off-by: Laura Couto <[email protected]>
@@ -205,8 +205,7 @@ def after_command_run(self): | |||
def after_context_created(self, context): | |||
"""Hook implementation to send project statistics data to Heap""" | |||
|
|||
if self._consent is None: | |||
self._consent = _check_for_telemetry_consent(context.project_path) | |||
self._consent = _check_for_telemetry_consent(context.project_path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I'm alright with this fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @lrcouto ! I agree, this will cover core problem described in the issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the fix!
…metry file (kedro-org#791) * Always set self._consent Signed-off-by: Laura Couto <[email protected]> * Lint Signed-off-by: Laura Couto <[email protected]> * Fix merge conflict Signed-off-by: Laura Couto <[email protected]> --------- Signed-off-by: Laura Couto <[email protected]> Signed-off-by: L. R. Couto <[email protected]> Co-authored-by: ElenaKhaustova <[email protected]> Co-authored-by: Juan Luis Cano Rodríguez <[email protected]> Signed-off-by: Merel Theisen <[email protected]>
Description
Addresses #785.
Development notes
Checklist
RELEASE.md
file