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

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

src/s/a/sahara-2014.1/sahara/tests/unit/conductor/manager/test_defaults.py   sahara(Download)
 
        cluster = self.api.cluster_get(ctx, cluster_id)
        ng = general.find_dict(cluster['node_groups'], id=ng_id)
        instance = general.find_dict(ng['instances'], instance_name="vm123")
 

src/s/a/sahara-HEAD/sahara/tests/unit/conductor/manager/test_defaults.py   sahara(Download)
 
        cluster = self.api.cluster_get(ctx, cluster_id)
        ng = general.find_dict(cluster['node_groups'], id=ng_id)
        instance = general.find_dict(ng['instances'], instance_name="vm123")