Ask Your Question
4

What does the error "AttributeError: type object 'String' has no attribute 'RETURNS_CONDITIONAL'" mean when importing ibm_db_sa?

asked 2021-12-17 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-04-19 07:00:00 +0000

scrum gravatar image

The error "AttributeError: type object 'String' has no attribute 'RETURNSCONDITIONAL'" occurs when trying to use the ibmdbsa package because it is not compatible with the version of SQLAlchemy being used. The ibmdbsa package is designed to work with SQLAlchemy version 0.7.x, but if you are using a different version of SQLAlchemy, the package may not work properly and may produce this error. To fix the issue, you can try updating SQLAlchemy to the correct version or using a version of ibmdb_sa that is compatible with your current version of SQLAlchemy.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-12-17 11:00:00 +0000

Seen: 18 times

Last updated: Apr 19 '21