Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/f/i/FireCheckIn-HEAD/kay/sessions/sessionstore.py   FireCheckIn(Download)
from kay.conf import settings
from kay.utils.decorators import retry_on_timeout
from models import GAESession
 
class GAESessionStore(sessions.SessionStore):
  def save_to_db(self, key_name, session):
    gae_session = GAESession(
      key_name = key_name,
      data = self.encode(dict(session)),
      expire_date = (datetime.datetime.now() +

src/k/a/kay-HEAD/kay/sessions/sessionstore.py   kay(Download)
from kay.conf import settings
from kay.utils.decorators import retry_on_timeout
from models import GAESession
 
class GAESessionStore(sessions.SessionStore):
  def save_to_db(self, key_name, session):
    gae_session = GAESession(
      key_name = key_name,
      data = self.encode(dict(session)),
      expire_date = (datetime.datetime.now() +