async def flush(self, request: Request, stacks: List[Stack]):
ns: List[Stack] = []<EOL>for stack in stacks:<EOL><INDENT>ns.extend(self.typify(stack))<EOL><DEDENT>if len(ns) > <NUM_LIT:1> and ns[-<NUM_LIT:1>] == Stack([lyr.Typing()]):<EOL><INDENT>ns[-<NUM_LIT:1>].get_layer(lyr.Typing).active = False<EOL><DEDENT>await self.next(request, ns)<EOL>
Add a typing stack after each stack.