otp.databases#
- databases(context=None, derived=False)[source]#
Gets all available databases in the
context
- Parameters
context (str, optional) – If it is not set then the default context from config is used
derived (bool, dict) – If False then derived databases are not returned. If dict then its items used as parameters to
derived_databases()
If True then default parameters forderived_databases()
are used.
- Returns
Dict where keys are database names and values are
DB
class.- Return type
See also
SHOW_DB_LIST OneTick event processor