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