def import_stages():
 stages = []
 for plugin in find_plugins():
  if hasattr(plugin, 'import_stages'):
   stages += plugin.import_stages
 return stages

def import_stages ( ) : stages = [ ] for plugin in find_plugins ( ) : if hasattr ( plugin , 'import_stages' ) : stages += plugin . import_stages return stages
get a list of import stage functions defined by plugins .