def get_resource_uploader(data_dict):
 upload = None
 for plugin in plugins.PluginImplementations(plugins.IUploader):
  upload = plugin.get_resource_uploader(data_dict)
 if (upload is None):
  upload = ResourceUpload(data_dict)
 return upload

def get_resource_uploader ( data_dict ) : upload = None for plugin in plugins . PluginImplementations ( plugins . IUploader ) : upload = plugin . get_resource_uploader ( data_dict ) if ( upload is None ) : upload = ResourceUpload ( data_dict ) return upload
query iuploader plugins and return a resource uploader instance .