Пример #1
0
 def getExportStep(self, step, default=None):
     """Simple wrapper to query both the global and local step registry."""
     res = self._export_registry.getStep(step, self)
     if res is self and not self._exclude_global_steps:
         res = _export_step_registry.getStep(step, self)
     if res is not self:
         return res
     return default
Пример #2
0
 def getExportStep(self, step, default=None):
     """Simple wrapper to query both the global and local step registry."""
     res = self._export_registry.getStep(step, self)
     if res is self and not self._exclude_global_steps:
         res = _export_step_registry.getStep(step, self)
     if res is not self:
         return res
     return default
Пример #3
0
 def getExportStep(self, step, default=None):
     """Simple wrapper to query both the global and local step registry."""
     res=_export_step_registry.getStep(step, default)
     if res is not default:
         return res
     return self._export_registry.getStep(step, default)
Пример #4
0
 def getExportStep(self, step, default=None):
     """Simple wrapper to query both the global and local step registry."""
     res = _export_step_registry.getStep(step, default)
     if res is not default:
         return res
     return self._export_registry.getStep(step, default)