You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @frantz2501, sorry for the late reply. I didn't see this as I don't think github was setup to send me notifications correctly.
I assume you've already fixed your issue.
However, it looks like you are using the poll( method incorrectly. Your lambda function isn't going to work.
You have written, let me comment:
defmyfunction():
df=df_function()
globalvaluevalue=df[df['date']==date]
returnTrue# Are you sure you always want the last line to return true?polling2.poll(
# There is no call to myfunction, you'd need to write 'myfunction() == True'# But you don't need to do this. You can just pass the name of your function as the first parameter (the parameter target)# and poll( will check it is true as the defaultlambda: myfunction==True,
step=30,
timeout=3600)
print(value)
I want to poll the return value of a function:
But does not work: the polling script runs indefinitely.
The text was updated successfully, but these errors were encountered: