Attempting update_look in Python SDK, assertion err. I must have my syntax wrong

Among our users, we’ve got lots of trouble with dashboards and looks running big queries upon load - so I’ve been tasked with turning it off on existing objects. Using the python looker_sdk, I am able to scan through and see that setting on all existing looks. I haven’t been able to update a test Look to turn if off, though - I get an err at line 8130 of methods.py: “assert isinstance(body, models.WriteLookWithQuery)”

My test app as it stands now:

import looker_sdk

sdk = looker_sdk.init40("./looker.ini")

for thislook in sdk.all_looks("id,title,is_run_on_load"):
    print(thislook.title,thislook.is_run_on_load)
    if thislook.title == "TestingROL":
        setrol = {"is_run_on_load":False}
        updlook = sdk.update_look(thislook.id, setrol)

I’ve tried a few dozen varieties of syntax based on samples and other folks’ resolved issues, but have not landed on the right way to do this. Could someone tell me what I’m missing?

0 1 118