I am trying to get all the Views in a ViewSet, but I am getting an error saying “the managed object is not valid”. I’m not sure where I am going wrong as I have written it in C# the same way and no problems. Is this a Python thing? In C# I need to cast as view although in Python this doesn’t work and no matter what I do it won’t give me access to the View properties.
I’m relatively new to Python, so still rough around the edges when it comes to syntax, but any help would be appreciated as I’m a little stumped.