Although there is a custom syntax error from the parser, the same trick works as for calling .format
on regular strings.
Use double curlies:
>>> foo = 'test'
>>> f'{foo} {{bar}}'
'test {bar}'
It's mentioned in the spec here and the docs here.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…