def new_file(self, is_subobject=False): """ Create a new image object... """ return file.File(weakref.proxy(self), is_subobject=is_subobject)
def factory_produce(self, config, seed_data): """ Return a File forged from seed_data """ return file.File(config).from_datastruct(seed_data)