+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
class ContainerRequest < ArvadosBase
def self.creatable?
false
[ 'description' ]
end
- def work_unit(label=nil)
- ContainerWorkUnit.new(self, label)
+ def self.goes_in_projects?
+ true
+ end
+
+ def work_unit(label=nil, child_objects=nil)
+ ContainerWorkUnit.new(self, label, self.uuid, child_objects=child_objects)
end
end