We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.3.21
Self Hosted
psycopg2.InterfaceError: cursor already closed
with db.engine.begin() as conn: rs = conn.execute(db.text(sql_query), arg_dict) response_data = [] for i in rs: response_data.append({ 'date': str(i.date), 'interactions': float(i.interactions.quantize(Decimal('0.01'))) }) return jsonify({ 'data': response_data })
(https://github.com/langgenius/dify/blob/cc35d0645a862c7eea28ff34b044ba8ebf29ff6e/api/controllers/console/app/statistic.py#L259C1-L272C11)
no error
sql error
The text was updated successfully, but these errors were encountered:
Can you please make a PR if possible? I would be extremely grateful!
Sorry, something went wrong.
Okay
#1586
No branches or pull requests
Dify version
0.3.21
Cloud or Self Hosted
Self Hosted
Steps to reproduce
(https://github.com/langgenius/dify/blob/cc35d0645a862c7eea28ff34b044ba8ebf29ff6e/api/controllers/console/app/statistic.py#L259C1-L272C11)
✔️ Expected Behavior
no error
❌ Actual Behavior
sql error
The text was updated successfully, but these errors were encountered: