def remove_key(self, schema: dict, key: str):
        """Removes a key key from a model schema"""
        if key in schema:
            del schema[key]
        for value in schema.values():
            if isinstance(value, dict):
                self.remove_key(value, key)
        return schema
Removes a key key from a model schema
argilla-v1/tests/unit/client/sdk/models/conftest.py