Flask RPC example