def new_package(self, is_subobject=False): """ Create a new package object... """ return package.Package(weakref.proxy(self), is_subobject=is_subobject)
def factory_produce(self, config, seed_data): """ Return a Package forged from seed_data """ return package.Package(config).from_datastruct(seed_data)