Beispiel #1
0
 def getImportStep(self, step, default=None):
     """Simple wrapper to query both the global and local step registry."""
     res = self._import_registry.getStep(step, self)
     if res is self and not self._exclude_global_steps:
         res = _import_step_registry.getStep(step, self)
     if res is not self:
         return res
     return default
Beispiel #2
0
 def getImportStep(self, step, default=None):
     """Simple wrapper to query both the global and local step registry."""
     res = self._import_registry.getStep(step, self)
     if res is self and not self._exclude_global_steps:
         res = _import_step_registry.getStep(step, self)
     if res is not self:
         return res
     return default
Beispiel #3
0
 def getImportStep(self, step, default=None):
     """Simple wrapper to query both the global and local step registry."""
     res=_import_step_registry.getStep(step, default)
     if res is not default:
         return res
     return self._import_registry.getStep(step, default)
Beispiel #4
0
 def getImportStep(self, step, default=None):
     """Simple wrapper to query both the global and local step registry."""
     res = _import_step_registry.getStep(step, default)
     if res is not default:
         return res
     return self._import_registry.getStep(step, default)