cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Юрий Пухальский)
Subject Re: AttributeError python exception when using Models
Date Tue, 08 Dec 2015 06:28:16 GMT
Thank you, Adam!

For some reason I missed that part, thought that the created session will automatically be
used, silly me:)
But indeed, the error handling might have been better.

Adam Holmberg <> writes:

> This is a good question for the Python driver mailing list. (changing
> recipients on this message)
> To answer your question: this is happening because there is no
> connection setup for the cqlengine mapper. When using cqlengine, you
> must setup the connection before querying or using management
> functions:
> getting-started
> connection.html
> That said, this condition could be handled better. I've created a
> ticket to improve the error message in these circumstances:
> Regards,
> Adam Holmberg

View raw message