Example #1
0
 def __init__(self, *args, **kw):
     self.flags = get_value_and_pop(kw, 'flags', READ)
     self.thread = get_value_and_pop(kw, 'thread')
     super(Message, self).__init__(*args, **kw)
Example #2
0
 def __init__(self, *args, **kw):
     self.email = to_u(get_value_and_pop(kw, 'email', ''))
     self.picture = get_value_and_pop(kw, 'picture', '')
     super(SQLContact, self).__init__(*args, **kw)