Did I find the right examples for you? yes no

All Samples(9)  |  Call(2)  |  Derive(0)  |  Import(7)

src/p/y/pyf.services-2.0.2/pyf/services/core/tasks.py   pyf.services(Download)
from pyf.services import model
from pyf.services.model import DBSession, Tube, TubeTask
from pyf.services.core.router import Router
from pyf.services.core.events import create_event_track, get_logger
 
def launch_tube(tube_id, user_name=None, variant=None,
                defered=False, options=None, source=None,
                only_prepare=False):
    tube = DBSession.query(Tube).get(tube_id)
    router = Router(tube=tube)

src/p/y/pyf.services-2.0.2/pyf/services/controllers/dispatch.py   pyf.services(Download)
 
from pyf.services.core.events import create_event_track, get_logger
from pyf.services.core.router import Router
 
from pyf.services.core.storage import get_storage
    def upload(self, dispatch_id, doc, variant=None, encoding=None, options=None, **kwargs):
        self.check_model_permission('launch')
        dispatch = DBSession.query(Dispatch).get(dispatch_id)
        router = Router(dispatch)
 

src/p/y/pyf.services-2.0.2/pyf/services/controllers/tubestorage.py   pyf.services(Download)
 
from pyf.services.core.events import create_event_track, get_logger
from pyf.services.core.router import Router
from pyf.services.core.tasks import launch_tube
from pyf.services.versionning.base import get_repository

src/p/y/pyf.services-2.0.2/pyf/services/controllers/tubelayer.py   pyf.services(Download)
 
from pyf.services.core.events import create_event_track, get_logger
from pyf.services.core.router import Router
from pyf.services.core.tasks import launch_tube
 

src/p/y/pyf.services-2.0.2/pyf/services/controllers/tube.py   pyf.services(Download)
 
from pyf.services.core.events import create_event_track, get_logger
from pyf.services.core.router import Router
from pyf.services.core.tasks import launch_tube
from pyf.services.versionning.base import get_repository

src/p/y/pyf.services-2.0.2/pyf/services/controllers/events.py   pyf.services(Download)
 
from pyf.services.core.events import create_event_track, get_logger
from pyf.services.core.router import Router
from pyf.services.core.storage import get_storage
 

src/p/y/pyf.services-2.0.2/pyf/services/controllers/descriptor.py   pyf.services(Download)
 
from pyf.services.core.events import create_event_track, get_logger
from pyf.services.core.router import Router
from pyf.services.core.tasks import launch_tube