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

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/p/y/pyon-HEAD/pyon/core/interfaces/service_object_generator.py   pyon(Download)
 
from pyon.core.path import list_files_recursive
from pyon.core.interfaces.interface_util import get_object_definition_from_datastore, get_service_definition_from_datastore
from pyon.ion.service import BaseService
from pyon.core.bootstrap import CFG, set_config
        else:
            print " Service interface generator: reading service definitions from datastore"
            data = get_service_definition_from_datastore(self.system_name)
        return data
 

src/p/y/pyon-HEAD/pyon/core/interfaces/object_model_generator.py   pyon(Download)
 
from pyon.core.path import list_files_recursive
from pyon.core.interfaces.interface_util import get_object_definition_from_datastore, get_service_definition_from_datastore
 
 
            if not self.data_yaml_text:
                return ''
            data = self.data_yaml_text + '\n' + get_service_definition_from_datastore(self.system_name)
        return data
 

src/p/y/pyon-HEAD/pyon/core/interfaces/message_object_generator.py   pyon(Download)
 
from pyon.core.path import list_files_recursive
from pyon.core.interfaces.interface_util import get_service_definition_from_datastore
 
enums_by_name = {}
        else:
            print " Message interface generator: reading service definitions from datastore"
            data = get_service_definition_from_datastore(self.system_name)
            if not data:
                data = []