Skip to content

featurebyte.DataSource.list_databases

list_databases( ) -> List[str]

Description

Lists the databases in the data source.

Returns

  • List[str]
    List of databases.

Raises

  • RecordRetrievalException
    Failed to retrieve database list.

Examples

>>> data_source = fb.FeatureStore.get("playground").get_data_source()
>>> data_source.list_databases()
['spark_catalog']