Import error: cannot import name _SessionSignalEvents from flask_sqlalchemy
- Langage dominant
- Python
- Étoiles
- 339
- Forks
- 147
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- flask, python
- Domaine
- backend, databases
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 48/100