Dedent a string and substitute with the params attribute.
params
s (str) – string to dedent and insert the sections of the params attribute
stacklevel (int) – The stacklevel for the warning raised in safe_module() when encountering an invalid key in the string
safe_module()