X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/734335da27f27e2177d3b931b1e5e9e8e83a042f..615e280721c4be51556e2c31b4baffa69dd0d6d8:/apps/workbench/app/models/container.rb?ds=sidebyside diff --git a/apps/workbench/app/models/container.rb b/apps/workbench/app/models/container.rb index e683a6e4f2..8de28ae41f 100644 --- a/apps/workbench/app/models/container.rb +++ b/apps/workbench/app/models/container.rb @@ -1,9 +1,13 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + class Container < ArvadosBase def self.creatable? false end - def work_unit(label=nil) - ContainerWorkUnit.new(self, label, self.uuid) + def work_unit(label=nil, child_objects=nil) + ContainerWorkUnit.new(self, label, self.uuid, child_objects=child_objects) end end