cubicweb/server/session.py
changeset 12039 7514626e1dc5
parent 12033 1ce12b716e71
child 12043 b8d2e6b9f548
equal deleted inserted replaced
12038:3c60180481ac 12039:7514626e1dc5
   289             self._set_user(session.user)
   289             self._set_user(session.user)
   290 
   290 
   291     @_open_only
   291     @_open_only
   292     def get_schema(self):
   292     def get_schema(self):
   293         """Return the schema currently used by the repository."""
   293         """Return the schema currently used by the repository."""
   294         return self.session.repo.source_defs()
   294         return self.repo.source_defs()
   295 
   295 
   296     @_open_only
   296     @_open_only
   297     def get_option_value(self, option):
   297     def get_option_value(self, option):
   298         """Return the value for `option` in the configuration."""
   298         """Return the value for `option` in the configuration."""
   299         return self.session.repo.get_option_value(option)
   299         return self.repo.get_option_value(option)
   300 
   300 
   301     # transaction api
   301     # transaction api
   302 
   302 
   303     @_open_only
   303     @_open_only
   304     def undoable_transactions(self, ueid=None, **actionfilters):
   304     def undoable_transactions(self, ueid=None, **actionfilters):