Mercurial > libervia-backend
comparison src/core/sat_main.py @ 2431:a9fac72825a2
memory (disco): added findServiceEntity helper method to get first service of a kind
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 15 Nov 2017 08:54:32 +0100 |
parents | 8b37a62336c3 |
children | 81a45e7886c9 |
comparison
equal
deleted
inserted
replaced
2430:3faf18111d61 | 2431:a9fac72825a2 |
---|---|
602 return self.memory.disco.getInfos(*args, **kwargs) | 602 return self.memory.disco.getInfos(*args, **kwargs) |
603 | 603 |
604 def getDiscoItems(self, *args, **kwargs): | 604 def getDiscoItems(self, *args, **kwargs): |
605 return self.memory.disco.getItems(*args, **kwargs) | 605 return self.memory.disco.getItems(*args, **kwargs) |
606 | 606 |
607 def findServiceEntity(self, *args, **kwargs): | |
608 return self.memory.disco.findServiceEntity(*args, **kwargs) | |
609 | |
607 def findServiceEntities(self, *args, **kwargs): | 610 def findServiceEntities(self, *args, **kwargs): |
608 return self.memory.disco.findServiceEntities(*args, **kwargs) | 611 return self.memory.disco.findServiceEntities(*args, **kwargs) |
609 | 612 |
610 def findFeaturesSet(self, *args, **kwargs): | 613 def findFeaturesSet(self, *args, **kwargs): |
611 return self.memory.disco.findFeaturesSet(*args, **kwargs) | 614 return self.memory.disco.findFeaturesSet(*args, **kwargs) |