Import error: cannot import name _SessionSignalEvents from flask_sqlalchemy
- Lingua principale
- Python
- Stelle
- 338
- Fork
- 147
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I came across the import error at this line:
https://github.com/aws/aws-xray-sdk-python/blob/master/aws_xray_sdk/ext/flask_sqlalchemy/query.py#L4
Package:
flask-sqlalchemy, 3.0.0
aws-xray-sdk-python, 2.10.0
It works fine when I downgrade flask-sqlalchemy to version 2.5.1
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start with aws_xray_sdk/ext/flask_sqlalchemy/query.py at the reported import on line 4 and reproduce the failure using Flask-SQLAlchemy 3.0.0 with aws-xray-sdk-python 2.10.0. Compare the behavior with Flask-SQLAlchemy 2.5.1; the issue is done when the supported newer package version no longer raises this import error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- flask, python
- Ambito
- backend, databases
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 48/100