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

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

src/p/y/pyon-HEAD/pyon/core/governance/governance_controller.py   pyon(Download)
from pyon.ion.event import EventSubscriber
from pyon.core.exception import NotFound, Unauthorized
from pyon.container.procs import SERVICE_PROCESS_TYPE, AGENT_PROCESS_TYPE
from pyon.util.containers import get_ion_ts, DictDiffer
 
            self.update_service_access_policy(process_instance._proc_listen_name)
 
        elif process_instance._proc_type == AGENT_PROCESS_TYPE:
            # look to load any existing policies for this agent service
            if process_instance.resource_type is None: