Project

Profile

Help

Task #2917

Updated by jortel@redhat.com over 7 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): headers={}):    # adds 'timeout', 'user', 'ssl', 'proxy_url', and 'headers' 
 pulpcore.plugin.download.FileDownload(self, url, writer, user=None):    # adds 'user' 

 pulpcore.plugin.download.Batch(self, downloads, concurrent=CONCURRENT, backlog=BACKLOG, iterator=None, context=None, feeder=None):    # adds 'iterator', 'context', and 'feeder' 
 </pre>

Back