Project

Profile

Help

Task #2917

Updated by jortel@redhat.com over 6 years ago

The following kwargs should be added to the plugin API constructors: 

 <pre> 
 pulpcore.plugin.changeset.main.ChangeSet(self, importer, additions=(), removals=(), deferred=False):    # adds 'deferred' 

 pulpcore.plugin.changeset.model.RemoteContent(self, model, artifacts=None):    # adds 'artifacts' 

 pulpcore.plugin.changeset.model.RemoteArtifact(self, model, download, content=None):    # adds 'content' 

 pulpcore.plugin.changeset.report.ChangeReport(self, action, content, error=None):    # adds 'error' 

 pulpcore.plugin.download.HttpDownload(self, url, writer, method='GET', timeout=None, user=None, ssl=None, proxy_url=None, headers=None):    # adds 'timeout', 'user', 'ssl', 'proxy_url', and 'headers' 


 pulpcore.plugin.download.FtpDownload(self, url, writer, user=None):     # adds 'user'. 

 pulpcore.plugin.download.Batch.__init__(self, downloads, concurrent=CONCURRENT, backlog=BACKLOG, context=None):    # adds 'context' 

 </pre>

Back