Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

        def login_user(username):
    return UserList.get_instance().login_user(username)
        


src/t/u/turbulenz_local-1.1.4/turbulenz_local/controllers/localv1/user.py   turbulenz_local(Download)
from turbulenz_local.decorators import jsonify, postonly
from turbulenz_local.controllers import BaseController
from turbulenz_local.models.userlist import login_user, get_current_user
from turbulenz_local.lib.exceptions import BadRequest
 
    def login(cls):
        username = request.params.get('username')
        try:
            login_user(str(username).lower())
        except UnicodeEncodeError:

src/t/u/turbulenz_local-HEAD/turbulenz_local/controllers/localv1/user.py   turbulenz_local(Download)
from turbulenz_local.decorators import jsonify, postonly
from turbulenz_local.controllers import BaseController
from turbulenz_local.models.userlist import login_user, get_current_user
from turbulenz_local.lib.exceptions import BadRequest
 
    def login(cls):
        username = request.params.get('username')
        try:
            login_user(str(username).lower())
        except UnicodeEncodeError: