def _get_set_cdc_func(session, ks_name, table_name):
    '\n    Close over a session, keyspace name, and table name and return a function\n    that takes enables CDC on that keyspace if its argument is truthy and\n    otherwise disables it.\n    '

    def set_cdc(value):
        return _set_cdc_on_table(session=session, ks_name=ks_name, table_name=table_name, value=value)
    return set_cdc
Close over a session, keyspace name, and table name and return a function
that takes enables CDC on that keyspace if its argument is truthy and
otherwise disables it.
def _get_set_cdc_func(session, ks_name, table_name):
    '\n    Close over a session, keyspace name, and table name and return a function\n    that takes enables CDC on that keyspace if its argument is truthy and\n    otherwise disables it.\n    '

    def set_cdc(value):
        return _set_cdc_on_table(session=session, ks_name=ks_name, table_name=table_name, value=value)
    return set_cdc