diff --git a/src/databricks/sql/__init__.py b/src/databricks/sql/__init__.py index 8bb5d73d..2cc54e25 100644 --- a/src/databricks/sql/__init__.py +++ b/src/databricks/sql/__init__.py @@ -32,7 +32,8 @@ def filter(self, record): ) else: record.args = tuple( - (self.redact(arg) if isinstance(arg, str) else arg) for arg in record.args + (self.redact(arg) if isinstance(arg, str) else arg) + for arg in record.args ) return True