class_docstr: Read-only view on a database.
docstr: Init method, see attributes of :class:`Database`.
docstr_tok: ["Init","method",",","see","attributes","of",":","class",":","`","Database","`","."]
code: def __init__(self, database):
      """Init method, see attributes of :class:`Database`."""
      self._database = database
  
imports: import logging
  from abc import abstractmethod, abstractproperty
  from orion.core.utils import Factory, GenericFactory
label_desc: Use image node_id 1 to create a new ReadOnlyDB object  with example: obj = ReadOnlyDB(database)