server/sources/__init__.py
changeset 1250 5c20a7f13c84
parent 1238 fa29b5b60107
child 1251 af40e615dc89
equal deleted inserted replaced
1249:905d76e38433 1250:5c20a7f13c84
   135         return True    
   135         return True    
   136     
   136     
   137     def eid2extid(self, eid, session=None):
   137     def eid2extid(self, eid, session=None):
   138         return self.repo.eid2extid(self, eid, session)
   138         return self.repo.eid2extid(self, eid, session)
   139 
   139 
   140     def extid2eid(self, value, etype, session=None, insert=True):
   140     def extid2eid(self, value, etype, session=None, **kwargs):
   141         return self.repo.extid2eid(self, value, etype, session, insert)
   141         return self.repo.extid2eid(self, value, etype, session, **kwargs)
   142 
   142 
   143     PUBLIC_KEYS = ('adapter', 'uri')
   143     PUBLIC_KEYS = ('adapter', 'uri')
   144     def remove_sensitive_information(self, sourcedef):
   144     def remove_sensitive_information(self, sourcedef):
   145         """remove sensitive information such as login / password from source
   145         """remove sensitive information such as login / password from source
   146         definition
   146         definition