コード例 #1
0
ファイル: mapper.py プロジェクト: kevinbluett/TopHat-Platform
 def getFromWatcher(self, id_):
     """Checks if the ObjectWatcher has an instance for this object with the given id and returns if it it does"""
     watcher = OW()
     return watcher.exists(self.targetClass(), id_)
コード例 #2
0
ファイル: mapper.py プロジェクト: waynet/TopHat-Platform
	def getFromWatcher(self, id_):
		"""Checks if the ObjectWatcher has an instance for this object with the given id and returns if it it does"""
		watcher = OW()
		return watcher.exists(self.targetClass(), id_)