1👍
✅
One of the things you’re including in that string concatenation is deploy
. Since that isn’t defined within the current scope, Python will look for the nearest declaration of that name, which is the current function itself, hence the error.
I don’t know where that name is actually supposed to be defined, but you should probably do it within your function; and, in any case, you will need to rename either the variable or the function.
Source:stackexchange.com