We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d5cb6d commit 3e10dc1Copy full SHA for 3e10dc1
tests/unit/source_code/linters/test_pyspark.py
@@ -527,7 +527,10 @@ def test_from_table_sql_py_linter_fixes_migrated_table(migration_index) -> None:
527
),
528
# Test for mount calls inside a function
529
(
530
- """variable = searchPath('/mnt/something/', some_variable)""",
+ """
531
+ def searchPath(rep, dateAlternative = None):
532
+ return dbutils.fs.ls(rep)
533
+ variable = searchPath('/mnt/something/', some_variable)""",
534
[
535
Deprecation(
536
code='direct-filesystem-access',
0 commit comments