Did I find the right examples for you? yes no

All Samples(13)  |  Call(13)  |  Derive(0)  |  Import(0)

src/g/e/GeoRemindMe_Web-HEAD/src/webapp/geoalert/helpers.py   GeoRemindMe_Web(Download)
        except:
            raise TypeError
        event = memcache.deserialize_instances(memcache.get('%sEVENT%s' % (memcache.version, id)), _search_class=self._klass)
        if event is None:
            event = self._klass.get_by_id(int(id))
    def get_by_slug_querier(self, slug, querier):
        '''
        Obtiene un evento por su id, COMPRUEBA VISIBILIDAD, solo obtiene los publicos
        '''
        suggestion = memcache.deserialize_instances(memcache.get('%sEVENT%s' % (memcache.version, slug)), _search_class=self._klass)

src/g/e/GeoRemindMe_Web-HEAD/src/webapp/geoalert/helpers_poi.py   GeoRemindMe_Web(Download)
        except:
            return None
        place = memcache.deserialize_instances(memcache.get('%splace_%s' % (memcache.version, id)), _search_class=Place)
        if place is None:
            place = self._klass.get_by_id(id)

src/g/e/GeoRemindMe_Web-HEAD/src/webapp/geouser/models.py   GeoRemindMe_Web(Download)
            # actualiza la cache de amigos sugeridos
            import memcache
            friends = memcache.get('%sfriends_to_%s' % (memcache.version, self.key()))
            if friends is not None and int(following.id()) in friends:
                del friends[int(following.id())]
    def get_friends_to_follow(self, provider = None, rpc=False):
        import memcache
        friends = memcache.get('%sfriends_to_%s' % (memcache.version, self.key()))
        if friends is None:
            friends_rpc = [] # lista de rpcs

src/g/e/GeoRemindMe_Web-HEAD/src/webapp/georemindme/templatetags/tags.py   GeoRemindMe_Web(Download)
        filename   = file_path.rpartition(os.sep)[2]
        cache_file = "%s_cache" % file_path
        cached_image = memcache.get('%s%s' % (memcache.version, cache_file))
        if cached_image is None:
            image = open(file_path)
def embedded_avatar(username):
    import memcache
    encoded_image = memcache.get('%s%s_avatarcachebase64' % (memcache.version, username))
    if encoded_image is None:
        from geouser.views import get_avatar

src/b/u/Buckley-HEAD/sketch/vendor/stash/__init__.py   Buckley(Download)
  def get(self, key):
    """docstring for get"""
    return memcache.get(key)
 
  def set(self, key, value):

src/g/e/GeoRemindMe_Web-HEAD/src/webapp/geoajax/views.py   GeoRemindMe_Web(Download)
            import memcache
            request.user.settings.blocked_friends_sug.append(userid)
            friends = memcache.get('%sfriends_to_%s' % (memcache.version, request.user.key()))
            if friends is not None and userid in friends:
                del friends[userid]

src/b/u/Buckley-HEAD/sketch/vendor/stash/cache.py   Buckley(Download)
  def get(self, key):
    """docstring for get"""
    return memcache.get(key)
 
  def set(self, key, value):

src/b/u/Buckley-HEAD/sketch/vendor/diffbot/cache.py   Buckley(Download)
  def get(self, key):
    """docstring for get"""
    return memcache.get(key)
 
  def set(self, key, value):

src/p/y/py-diffbot-HEAD/diffbot/cache.py   py-diffbot(Download)
  def get(self, key):
    """docstring for get"""
    return memcache.get(key)
 
  def set(self, key, value):

src/g/e/GeoRemindMe_Web-HEAD/src/webapp/geouser/views.py   GeoRemindMe_Web(Download)
    #------------------------------------------------------------------------------ 
    import memcache
    friends = memcache.get('%sfriends_to_%s' % (memcache.version, request.user.key()))
    if friends is None: # lanzamos las peticiones asincronas
        handlers_rpcs, list_rpc=request.user.get_friends_to_follow(rpc=True)