async def get_trans_flags(self) -> '<STR_LIT>':
from bernard.middleware import MiddlewareManager<EOL>async def make_flags(request: Request) -> '<STR_LIT>':<EOL><INDENT>return {}<EOL><DEDENT>mf = MiddlewareManager.instance().get('<STR_LIT>', make_flags)<EOL>return await mf(self)<EOL>
Gives a chance to middlewares to make the translation flags