The only other thing I can think of is putting that code in a module. http://web2py.com/book/default/chapter/04?search=module#Accessing-the-API-from-Python-modules
But is there a specific reason you want to suppress model execution? Are you running into any sort of problem?

