docker exec -it adminpls python3 -m flask scheduler-reset
The above command produces an error when it gets to the TRUNCATE TABLE sql command, as shown below.
sqlalchemy.exc.ArgumentError: Textual SQL expression 'TRUNCATE TABLE task_scheduler C...' should be explicitly declared as text('TRUNCATE TABLE task_scheduler C...')