def LoadYamlConfig(config_file_name):
 (loaders, exporters) = bulkloader_config.load_config(config_file_name, increment_id=IncrementId)
 for cls in loaders:
  Loader.RegisterLoader(cls())
 for cls in exporters:
  Exporter.RegisterExporter(cls())

def LoadYamlConfig ( config_file_name ) : ( loaders , exporters ) = bulkloader_config . load_config ( config_file_name , increment_id = IncrementId ) for cls in loaders : Loader . RegisterLoader ( cls ( ) ) for cls in exporters : Exporter . RegisterExporter ( cls ( ) )
loads a config file and registers any loader classes present .