示例#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)