Skip to content

Commit b06f49f

Browse files
committed
lint
1 parent 59031dc commit b06f49f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

python/pyspark/sql/connect/dataframe.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1744,9 +1744,8 @@ def __getitem__(
17441744
# }
17451745

17461746
# validate the column name
1747-
if (
1748-
os.environ.get("PYSPARK_VALIDATE_COLUMN_NAME_LEGACY") == "1"
1749-
and not hasattr(self._session, "is_mock_session"),
1747+
if os.environ.get("PYSPARK_VALIDATE_COLUMN_NAME_LEGACY") == "1" and not hasattr(
1748+
self._session, "is_mock_session"
17501749
):
17511750
from pyspark.sql.connect.types import verify_col_name
17521751

0 commit comments

Comments
 (0)