apdb_type

lsst.dax.apdb.apdb_type(config: ApdbConfig) type[lsst.dax.apdb.apdbSql.ApdbSql | lsst.dax.apdb.apdbCassandra.ApdbCassandra]

Return Apdb type on Apdb configuration.

Parameters:
configApdbConfig

Configuration object, sub-class of ApdbConfig.

Returns:
typetype [Apdb]

Subclass of Apdb class.

Raises:
TypeError

Raised if type of config does not match any known types.