Resetting utils subtree.

This commit is contained in:
yatmesh
2025-06-12 13:46:29 +05:30
parent c6ac5c6570
commit c03e75d30e
214 changed files with 290 additions and 148757 deletions
+33
View File
@@ -133,6 +133,39 @@ async def callback_test(
return f"ok ({request.method})"
# ----------------------------------------------------------------------------------------------------------------------
# Added By Omkar - 2025/05/07 ---
# ----------------------------------------------------------------------------------------------------------------------
#
# @test_callback_bp.route("/whatsapp", methods = ["GET"])
# @set_api_version(api_version = "1.0.0")
# @read_input(sanitize_headers = False, sanitize_data = False)
# async def whatsapp_test(
# inbound_headers: dict = None,
# inbound_data: dict = None,
# inbound_files: dict = None,
# **kwargs
# ):
# from cron.misc.reminders_for_work import main
#
# # Parse the inputs:
# start_time = datetime.datetime.strptime(args.start_time, "%H:%M:%S")
# end_time = datetime.datetime.strptime(args.end_time, "%H:%M:%S")
#
# # Initialize and run the scheduler:
# if await init(
# script_id=args.script_id,
# debug=args.debug
# ): await main(
# start_time=start_time,
# end_time=end_time,
# interval_seconds=args.interval,
# heartbeat_seconds=args.heartbeat_interval
# )
# send_req = await main()
#
# return f"ok ({send_req})"
# *****************************************************************************************************************
# ***** ****