Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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)
Exemplo n.º 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)