Did I find the right examples for you? yes no

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/r/e/readify-HEAD/readify/handlers.py   readify(Download)
from brubeck.datamosh import StreamedHandlerMixin
 
from models import (User,
                    UserProfile,
                    ListItem,
        }
 
        item = ListItem(**link_item)
 
        try:
    def post(self, item_id):
        """Accepts a URL argument and saves it to the database
        """
        item_data = self._load_item(self.current_user.id, item_id)
        item =  ListItem(**item_data)

src/r/e/readify-HEAD/readify/forms.py   readify(Download)
import copy
from dictshield.forms import Form
 
from models import (User,
                    UserProfile,

src/l/i/listsurf-HEAD/handlers.py   listsurf(Download)
from brubeck.templating import Jinja2Rendering
 
from models import User, ListItem
from queries import (load_user,
                     save_user,
        }
 
        item = ListItem(**link_item)
        item.validate()
        save_listitem(self.db_conn, item)