def create_client(self, name, app_id, valid_facets):
        ensure_valid_name(name)

        try:
            self.get_client(name)
            raise ValueError('Client already exists: %s' % name)
        except __HOLE__:
            client = Client(name, app_id, valid_facets)
            self._session.add(client)
            log.info('Client created: %s', name)
dataset/ETHPy150Open Yubico/u2fval/u2fval/client/controller.py/ClientController.create_client