Catalog.
listDatabases
Returns a list of databases available across all sessions.
New in version 2.0.0.
A list of Database.
Database
Examples
>>> spark.catalog.listDatabases() [Database(name='default', catalog='spark_catalog', description='default database', ...