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