Using l vacuum with a dry run in Python for a Delta Lake

User16826994223
Databricks Employee
Databricks Employee

I can see an example on how to call the vacuum function for a Delta lake in python here. how to use the same in python

%sql
VACUUM delta.`dbfs:/mnt/<myfolder>` DRY RUN