I have the following snippet in my Azure function
import logging
import azure.functions as func
import email
import smtplib
import datetime
import pandas as pd
import io
import requests
import os
#import resend
import smtplib
from email.mime.text import MIMEText
app = func.FunctionApp()
@app.schedule(schedule="0 */5 * * * *", arg_name="myTimer", run_on_startup=True, use_monitor=True)
def NSEData(myTimer: func.TimerRequest) -> None:
if myTimer.past_due:
logging.info('The timer is past due!')
logging.info('Python timer trigger function executed.')
During debugging, the flow is returning after
def NSEData(myTimer: func.TimerRequest) -> None:
I am not able to understand why it is like this. If it matters, I am using VS Code as IDE.