Did I find the right examples for you? yes no

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

src/m/i/Microbe-1.0/microbe/models.py   Microbe(Download)
from flask.ext.login import current_user
 
from utils import truncate_markdown
 
class Users(object) :
    def summary(self) :
        max_length = current_app.config[u'SUMMARY_LENGTH']
        markdown = truncate_markdown(self.body, max_length)
        return self.html_renderer(markdown)