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

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

src/s/a/sahara-2014.1/sahara/service/validations/clusters_scaling.py   sahara(Download)
def _build_node_groups_schema():
    schema = copy.deepcopy(cl_t.CLUSTER_TEMPLATE_SCHEMA)
    return schema['properties']['node_groups']
 
 

src/s/a/sahara-2014.1/sahara/service/validations/clusters.py   sahara(Download)
def _build_cluster_schema():
    cluster_schema = copy.deepcopy(cl_tmpl.CLUSTER_TEMPLATE_SCHEMA)
    cluster_schema['properties'].update({
        "is_transient": {
            "type": "boolean"

src/s/a/sahara-HEAD/sahara/service/validations/clusters_scaling.py   sahara(Download)
def _build_node_groups_schema():
    schema = copy.deepcopy(cl_t.CLUSTER_TEMPLATE_SCHEMA)
    return schema['properties']['node_groups']
 
 

src/s/a/sahara-HEAD/sahara/service/validations/clusters.py   sahara(Download)
def _build_cluster_schema():
    cluster_schema = copy.deepcopy(cl_tmpl.CLUSTER_TEMPLATE_SCHEMA)
    cluster_schema['properties'].update({
        "is_transient": {
            "type": "boolean"

src/s/a/sahara-HEAD/sahara/tests/unit/service/validation/test_cluster_template_create_validation.py   sahara(Download)
    def setUp(self):
        self._create_object_fun = ct.check_cluster_template_create
        self.scheme = ct.CLUSTER_TEMPLATE_SCHEMA
        api.plugin_base.setup_plugins()
 

src/s/a/sahara-2014.1/sahara/tests/unit/service/validation/test_cluster_template_create_validation.py   sahara(Download)
    def setUp(self):
        self._create_object_fun = ct.check_cluster_template_create
        self.scheme = ct.CLUSTER_TEMPLATE_SCHEMA
        api.plugin_base.setup_plugins()