The GitHub Actions job "Tests" on airflow.git has succeeded.
Run started by GitHub user ashb (triggered by ashb).

Head commit for run:
d606feaca4e13326ed30f47e6f92ea4712db4c8e / Ash Berlin-Taylor <[email protected]>
Remove worrying log message about redaction from the OpenLineage plugin

The current published plugin calls `_redact_all` directly, so when we
added the `max_depth` parameter in 2.6 (precisely so it didn't need to
call this private function directly!) we broke that.

This change leads to some worrying logs appearing in task logs for
anyone with the plugin installed:

```
[2023-05-05, 11:56:17 BST] {utils.py:490} WARNING - Unable to redact []Error 
was: TypeError: SecretsMasker._redact_all() missing 1 required positional 
argument: 'max_depth'
[2023-05-05, 11:56:17 BST] {utils.py:490} WARNING - Unable to redact []Error 
was: TypeError: SecretsMasker._redact_all() missing 1 required positional 
argument: 'max_depth'
[2023-05-05, 11:56:17 BST] {utils.py:490} WARNING - Unable to redact NoneError 
was: TypeError: SecretsMasker._redact_all() missing 1 required positional 
argument: 'max_depth'
```

This patch makes that previous change backwards compatible for that with
no change in behaviour for new code.

Report URL: https://github.com/apache/airflow/actions/runs/4925247807

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to