req.py
changeset 7543 570522300e22
parent 7407 a78cc15227ef
child 7815 2a164a9cf81c
equal deleted inserted replaced
7542:86e9632a4e9c 7543:570522300e22
   407         """return the root url of the instance"""
   407         """return the root url of the instance"""
   408         return self.vreg.config['base-url']
   408         return self.vreg.config['base-url']
   409 
   409 
   410     # abstract methods to override according to the web front-end #############
   410     # abstract methods to override according to the web front-end #############
   411 
   411 
   412     def describe(self, eid):
   412     def describe(self, eid, asdict=False):
   413         """return a tuple (type, sourceuri, extid) for the entity with id <eid>"""
   413         """return a tuple (type, sourceuri, extid) for the entity with id <eid>"""
   414         raise NotImplementedError
   414         raise NotImplementedError
   415 
   415 
   416     @property
   416     @property
   417     @deprecated('[3.6] use _cw.vreg.config')
   417     @deprecated('[3.6] use _cw.vreg.config')