Is it possible to do partial string formatting with the advanced string formatting methods, similar to the string template safe_substitute() function?
safe_substitute()
F
>>> 'fd:{uid}:{{topic_id}}'.format(uid=123) 'fd:123:{topic_id}'
Try this out.