my question is in regards to functions and the "return" statement in python.
Specifically,
# Do nothing unless the date has changed
if todays_date == context.date:
return
from my understanding from what I have read about "return" is that the algo will run from top to bottom, but once it comes across "return" it jumps back up to where it was called and run back through, so in this case as long as todays_date == context.date (day is the same) the program will basically sit in the "return" loop and will not continue with the algo. It will only continue with the algo as long as the date is different.
Is my thinking on this correct?