Speed up some target collection methods.
@@ -110,14 +110,6 @@ class BaseWorkflowProxy(ProxyTask):
Returns the default workflow outputs in an ordered dictionary. At the moment this is just
the collection of outputs of the branch tasks, stored with the key ``"collection"``.
"""
- # warn about the deprecation of the legacy "outputs_siblings" and
- # "target_collection_cls" flag (until v0.1)
- attrs = ("outputs_siblings", "target_collection_cls")
- if any(getattr(self.task, attr, None) for attr in attrs):
- attrs = ", ".join(attrs[:-1]) + " and " + attrs[-1]
- logger.warning("the attributes {} to define the class of the workflow output target "
- "collection are deprecated, please use output_collection_cls instead".format(attrs))
-
cls = self.task.output_collection_cls or TargetCollection
targets = luigi.task.getpaths(self.task.get_branch_tasks())
collection = cls(targets, threshold=self.threshold(len(targets)))
