it better with
the examples, i will do a blog post.
thanks again.
On 25 Aralık, 01:04, Michael Bayer mike...@zzzcomputing.com wrote:
On Dec 24, 2011, at 5:38 PM, Mengu wrote:
hi all. i am caching my query results in redis with
sqlalchemy.ext.serializer.loads/dumps. like results =
DBSession.query
hi all. i am caching my query results in redis with
sqlalchemy.ext.serializer.loads/dumps. like results =
DBSession.query(ShowContestant).all() and redis.set(key,
dumps(results))
when i do loads(redis.get(key)) i get the obj without any problems but
if i want to access any of its relations, i get
while we are on the subject, i'd like to ask a question if i'm doing
it right or wrong.
i have created a class called Validation with a method called is_valid
and I have mixed it in my SQLAlchemy models. all of my models has an
attribute called validation that consists of model's attributes that