Did I find the right examples for you? yes no

All Samples(8)  |  Call(2)  |  Derive(0)  |  Import(6)

src/u/n/unsourced-HEAD/unsourced/app.py   unsourced(Download)
import config
from handlers import base,user,article,addarticle,front,sources,tagging,comments,browse,tokens,api,labels,activity
from models import Label
import analyser
 
            label = session.query(Label).get(id)
            if label is None:
                label = Label(id=id, prettyname=inf['prettyname'], description=inf['description'], icon=inf['icon'])
                session.add(label)
                logging.warn("label '%s' missing from db - now installed", id)

src/m/o/monlog-HEAD/monlog/log/views.py   monlog(Download)
from django.shortcuts import render_to_response, redirect
from django.contrib.auth.decorators import login_required
from models import LogMessage, Label, Expectation, SEVERITY_CHOICES
from django.contrib.auth.models import User
from monlog.log.forms import LogQueryForm, LabelForm, ExpectationForm
        label.query_string=query_string
    except Label.DoesNotExist:
        label = Label(user=request.user,
                      label_name=name,
                      query_string=query_string)

src/u/n/unsourced-HEAD/unsourced/uimodules.py   unsourced(Download)
import tornado.web
from sqlalchemy import not_
from models import Source,SourceKind,Article,Action,Label
import util
 

src/d/j/django-qoptions-0.1.2/options/__init__.py   django-qoptions(Download)
from models import OptionCache, Option, Label, Text
 
 
def get_option(key, fail_silently=True):
    return _get_qoption_value(Option, key, fail_silently)

src/d/j/django-qoptions-0.1.2/options/admin.py   django-qoptions(Download)
from django.contrib import admin
from .models import Option, Label, Text
from django.conf import settings
 
 

src/d/j/django-migrate-mail-0.2.1/migrate_mail/views.py   django-migrate-mail(Download)
 
from .forms import MigrationForm
from .models import Migration, Label
from .utils.gmail2gmail import CaptchaError, ServerError, build_migration_service, get_server
from .utils.imaputf7 import imapUTF7Decode