Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/m/i/microlathe-HEAD/src/views.py   microlathe(Download)
def proxy_needs_update():
    pipe = redis.pipeline()
    pipe.get(config.REFRESH_KEY)
    pipe.delete(config.REFRESH_KEY)
    data = pipe.execute()[0]

src/m/i/microlathe-HEAD/src/api.py   microlathe(Download)
        def wrap(*args, **kwargs):
            ret = dfunc(*args, **kwargs)
            redis.set(config.REFRESH_KEY, data)
            return ret