class_docstr: Read-only view on a database.
docstr: Get attribute only if valid
docstr_tok: ["Get","attribute","only","if","valid"]
code: def __getattr__(self, attr):
      """Get attribute only if valid"""
      if attr not in self.valid_attributes:
          raise AttributeError(
              f"Cannot access attribute {attr} on view-only experiments."
          )
  
      return getattr(self._database, attr)
  
imports: import logging
  from abc import abstractmethod, abstractproperty
  from orion.core.utils import Factory, GenericFactory
label_desc: Use image node_id 2 for calling the ReadOnlyDB obj's underlying member method code with example usage: obj.__getattr__(attr) and returns: getattr