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/a/t/atmosphere-HEAD/core/models/machine.py   atmosphere(Download)
 
from atmosphere import settings
from core.application import get_os_account_driver, write_app_data
from core.models.application import Application
from core.models.application import create_application, get_application
 
from core.metadata import _get_owner_identity
from core.application import write_app_data, has_app_data, get_app_data
 
class ProviderMachine(models.Model):
            continue
        tenant_id = accounts.get_project(tenant_name).id
        write_app_data(provider_machine, owner=tenant_id)
        print "App data saved for %s" % image_id
        accounts.image_manager.share_image(image, tenant_name)