Пример #1
0
 def process_result_value(self, value, dialect):
     """Load ZlibPickled data from column."""
     if value is not None:
         value = ZlibPickle.loads(value)
     return value
Пример #2
0
 def process_result_value(self, value, dialect):
     """Load ZlibPickled data from column."""
     if value is not None:
         value = ZlibPickle.loads(value)
     return value
Пример #3
0
 def process_bind_param(self, value, dialect):
     """Dump data to column using ZlibPickle."""
     if value is not None:
         value = ZlibPickle.dumps(value)
     return value
Пример #4
0
 def process_bind_param(self, value, dialect):
     """Dump data to column using ZlibPickle."""
     if value is not None:
         value = ZlibPickle.dumps(value)
     return value