dbapi.py
changeset 6333 e3994fcc21c3
parent 6293 df44d7163582
parent 6312 b6c2b81e49ec
child 6494 70c87c717e4a
equal deleted inserted replaced
6293:df44d7163582 6333:e3994fcc21c3
   643     def get_schema(self):
   643     def get_schema(self):
   644         """Return the schema currently used by the repository."""
   644         """Return the schema currently used by the repository."""
   645         return self._repo.get_schema()
   645         return self._repo.get_schema()
   646 
   646 
   647     @check_not_closed
   647     @check_not_closed
   648     def get_option_value(self, option):
   648     def get_option_value(self, option, foreid=None):
   649         """return the value for `option` in the repository configuration."""
   649         """Return the value for `option` in the configuration. If `foreid` is
   650         return self._repo.get_option_value(option)
   650         specified, the actual repository to which this entity belongs is
       
   651         dereferenced and the option value retrieved from it.
       
   652         """
       
   653         return self._repo.get_option_value(option, foreid)
   651 
   654 
   652     @check_not_closed
   655     @check_not_closed
   653     def describe(self, eid):
   656     def describe(self, eid):
   654         return self._repo.describe(self.sessionid, eid, **self._txid())
   657         return self._repo.describe(self.sessionid, eid, **self._txid())
   655 
   658