예제 #1
0
파일: agency.py 프로젝트: pepribas/F3AT
 def identify(self, instance):
     if (IRecorder.providedBy(instance) and
         instance.journal_id in self.registry):
         return instance.journal_id
예제 #2
0
파일: journal.py 프로젝트: f3at/feat
 def wrapper(self, *args, **kwargs):
     recorder = IRecorder(self)
     return recorder.call(function, args, kwargs, reentrant=reentrant)