string blurb } service UserStorage { void store(1: UserProfile user), UserProfile retrieve(1: i32 uid) } services: - interface: user.UserStorage handler: user.handler:UserStorageHandler class UserStorageHandler(object): def store(self, user): ... def retrieve(self, uid): ... user.thrift app.yaml handler.py