API Reference

DataLocation

class monad.ui.config.DataLocation

Defines the location of the data source.

from monad.ui.config import DatabaseType, DataLocation
from monad.config import ParquetConfig

DataLocation(
	database_type=DatabaseType.PARQUET,	
  connection_params=ParquetConfig(
    path="/path/to/parquet/file",
    cache_path="/path/to/cache/",
  ),
  table_name="customers",
)
Parameters

database_type: DatabaseType
Information about the database type or source file. All data tables should be stored in the same type.


connection_params: BigqueryConfig|ClickhouseConfig|DatabricksConfig|HiveConfig|ParquetConfig|SnowflakeConfig|SnowflakeConfigOauthToken|SynapseConfig
Configures the connection to the database.


table_name:str
Specifies the table to use to create features.