def create_key(self, ctxt, **kwargs):
        if ctxt is None:
            raise exception.Forbidden()

        key = self._generate_key(**kwargs)
        return self.store_key(ctxt, key)
Separate deal and merchant data.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/keymgr/mock_key_mgr.py/MockKeyManager.create_key--crossover with--dataset/ETHPy150Open tryolabs/daywatch/daywatch/core/scraper/item_scraper/pipelines.py/extract_item_data