I tend to agree. I think it's easy enough to use a lambda in this case
>>> template = lambda name: f'Hello {name}' >>> template('Bob')