Databricks-connect Configure a connection to serverless compute Not working

TheManOfSteele
New Contributor III

Following these instructions, at https://docs.databricks.com/en/dev-tools/databricks-connect/python/install.html#configure-a-connecti... 

There seems to be an issue with the example code.

from databricks.connect import DatabricksSession as SparkSession

spark = DatabricksSession.builder.serverless(True).getOrCreate()

I will get an error that says AttributeError: 'Builder' object has no attribute 'serverless'
Is this a known issue? 


Thank you!