def reload_schema(self, schema):
        if schema:
            self._validate_schema(schema)
            self.schema = schema
            self.schema_mode = True
            self.editable = False
        else:
            self.schema = None
            self.schema_mode = False
            self.editable = True
        # remove any existing virtual field
        self._remove_hstore_virtual_fields()
        # set new descriptor on model class
        setattr(self.model, self.name, HStoreDescriptor(self, schema_mode=self.schema_mode))
        # create virtual fields
        self._create_hstore_virtual_fields(self.model, self.name)
Merge multiple sorted inputs into a single sorted output.
dataset/ETHPy150Open djangonauts/django-hstore/django_hstore/fields.py/DictionaryField.reload_schema--crossover with--dataset/ETHPy150Open bioinformed/vgraph/vgraph/intervals.py/merge