def __init__(self, location, resource_pool):
        """Create an in-memory package repository.

        Args:
            location (str): Path containing the package repository.
        """
        super(MemoryPackageRepository, self).__init__(location, resource_pool)
        self.data = {}
        self.register_resource(MemoryPackageFamilyResource)
        self.register_resource(MemoryPackageResource)
        self.register_resource(MemoryVariantResource)
def __init__ ( self , location , resource_pool ) : super ( MemoryPackageRepository , self ) . __init__ ( location , resource_pool ) self . data = { } self . register_resource ( MemoryPackageFamilyResource ) self . register_resource ( MemoryPackageResource ) self . register_resource ( MemoryVariantResource )
Create an in-memory package repository.

        Args:
            location (str): Path containing the package repository.