55,577 questions
-2
votes
0
answers
24
views
create a common wrapper around these two create agent apis [closed]
Send me a doc where you are showing two api calls (via curl or postman)-> one with provider Retell and one with provider Vapi and showing that in same api by changing the provider you are able to ...
0
votes
0
answers
18
views
Nixos - Flask - ModuleNotFoundError
I wanted to add a form to my flask-based website, but I got the following error message:
Apr 24 21:18:04 nixos uwsgi[2261]: from flask_wtf import FlaskForm
Apr 24 21:18:04 nixos uwsgi[2261]: ...
-1
votes
0
answers
16
views
Flask integration with Laravel for Object Detection [closed]
I'm trying to integrate Flask with Laravel for a Automatic Number Place Recognition System, the goal is to have Laravel as my main frontend and all object detections would be run on Flask, to create ...
0
votes
0
answers
25
views
Closing a session in Flask, SQLAlchemy to delete the temporaryx file
I know there are similar questions out there, but none answered my problem.
I am using a basic test setup in Flask using SQLAlchemy, that is a slightly modified version of the Flask-tutorial tests. My ...
0
votes
1
answer
26
views
WeasyPrint in Flask server not generating PDF with images
I have a Flask server running in localhost python 3.9 and conda, with a route for pdf creation with WeasyPrint's python driver, the pdf's are generated correctly but I just cant put any images on it (...
0
votes
0
answers
36
views
Python 3 Flask MySQL connection and handle error
I am build a system include server, mobile app and desktop app.
server.py
from flask import Flask, jsonify, request, g, send_file
from flask_cors import CORS
import mysql.connector
import data.data as ...
0
votes
0
answers
31
views
ormdata should be a multidict-type wrapper that supports the 'getlist' method [closed]
form_data = dict(request.form)
form = HomeworkForm(form_data)
if not form.validate():
return {"JOB":"Error", "errors": form.errors}, 400
homework = {
"...
0
votes
0
answers
21
views
i cant figure out why it keeps showing already selected keywords back in suggestions [closed]
in this function the selected keywords are shown again in suggestions and their is a recursive loop for eg: if network security selected->incident response->network security and so on.
def ...
0
votes
0
answers
19
views
Flasgger displaying Swagger page locally, but fails to load API definition on Azure
When I run this locally, the swagger page loads as normal, with all my endpoints and tests effectively. However, when I send it to Azure, I get the following page:
Failed to load API Definition.
When ...
0
votes
0
answers
59
views
Return latest updated cell
I'm fairly new to the Google sheet API.
I have been attempting to make a bot that takes IDs and processes them through an information system.
I have run into a few issues such as getting the last ...
0
votes
1
answer
47
views
How to make Flask app not raise 404 errors
I have made a 404 error handler on my flask app:
@app.errorhandler(404)
def handle_not_found_error(exc):
err_code = util.generate_uuid()[:6]
app.logger.error(f"Error code: {err_code}&...
0
votes
0
answers
40
views
python flask web app "application root" settings error
i try publish my site but i cant. yes we can see
"It works!
Python v3.9.21"
message but its only i can see this. i think my wrong "application root" value. my file manager ...
0
votes
0
answers
92
views
Raspberry Pi Camera Flask Streaming
I am setting up a flask application on a pi zero to stream video via LAN. The camera can take normal pictures using libcamera-still command line, but when trying to stream the video the below blurry ...
-3
votes
1
answer
67
views
Flask HTML Cootie Catcher -- 415 Unsupported Media Type
I am new to Python and Flask and am trying to write a cootie catcher program. I've looked at a few tutorials and am testing what the google AI gave me until I can understand what's happening. Whenever ...
0
votes
1
answer
22
views
Flask: Blueprint.get_static_file(filename) vs dynamic url_prefix
Question
How can I make a static lookup work if the url contains additional variables?
Example
When I use a blueprint (id) with a dynamic url_prefix (<int:id>):
# /a/__init__.py :
a_bp = ...