I have a long long command to send over SSH using Paramiko and I need to wrap the string using "r" parameter but the IDE still tells me it's not written fine. The string is something like that:
somecommand get -n somestuff sa/management --template='{{range .secrets}}{{printf "%s\n" .name}}{{end}}'
I tried doing:
command = r'somecommand get -n somestuff sa/management --template='{{range .secrets}}{{printf "%s\n" .name}}{{end}}'
But got an error. This is probably something super easy to do....
\nwill finally be rendered. Especially without an error message. It's also strange that your error didn't come with an error message.