コード例 #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)