Button open new tab

Hi, I have a button that should show a pdf that I have built with jinja2. I want that button to open the pdf in a new browser tab.
I show part of the call and creation of the route
image