#sqlalchemy
<T`> does MyObj.get(1) call any constructors in MyObj??
<T`> i want to setup some internal variables, but it doesn't seem to be possible since __init__ isn't called...
<aa_> T`: constructors? it calls the get method, and you can do something in that get method
<T`> aa_, but get is done thru assign_mapper
<T`> assign_mapper(context, MyObj, my_table)
<aa_> oh, I didn't know that
<T`> MyObj.get(1) is same as MyObj.selectone(id==1) i guess..
<T`> which returns an obj of type MyObj
<T`> but this MyObj is returned without calling the __init__()... which i defined in MyObj
<T`> wehere i set a few predefined variables like self._count = None, etc..
<T`> i dunno how i can initialize or setup such values into classes now..
<T`> do you have any idea?