@classmethod
    def clear_config(cls, tablename, *keys):

        config = current.model.config

        tn = tablename._tablename if type(tablename) is Table else tablename
        if tn in config:
            if not keys:
                del config[tn]
            else:
                [config[tn].pop(k, None) for k in keys]
        return

    # -------------------------------------------------------------------------
Creates a mock key provider that yields keys for each in key_list
dataset/ETHPy150Open sahana/eden/modules/s3/s3model.py/S3Model.clear_config--crossover with--dataset/ETHPy150Open aws/aws-cli/tests/unit/customizations/cloudtrail/test_validation.py/create_mock_key_provider