예제 #1
0
 def process(reports):
     if project and callable(reports):
         reports = reports(project)
     return tuple(reports)
예제 #2
0
 def process(reports):
     if callable(reports):
         reports = reports(domain_obj) if domain_obj else tuple()
     return tuple(reports)
예제 #3
0
 def process(reports):
     if callable(reports):
         reports = reports(project) if project else tuple()
     return tuple(reports)