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

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

src/o/p/OpenCoweb-1.0/coweb/moderator.py   OpenCoweb(Download)
 
from .serviceutil import getServiceNameFromChannel
from .serviceutil import isServiceChannel
from .serviceutil import isPublicBroadcast
from .bayeux.handler import InternalBayeuxHandler
    def onMessage(self, data):
        ch = data.get("channel", "")
        if isServiceChannel(ch):
            data = data["data"]
            isPub = isPublicBroadcast(ch)

src/o/p/OpenCoweb-1.0/coweb/session/collab.py   OpenCoweb(Download)
# coweb
from . import session
from ..serviceutil import isPublicBroadcast
from ..serviceutil import getServiceNameFromChannel
from coweb.session.late_join_handler import LateJoinHandler