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

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

src/a/t/atmosphere-HEAD/core/models/machine_request.py   atmosphere(Download)
 
 
from core.application import save_app_data
from core.fields import VersionNumberField, VersionNumber
from core.models.application import get_application, create_application
    tenant_name = user.username
    update_owner(new_machine, tenant_name)
    save_app_data(new_machine.application)
    add_to_cache(new_machine)
    machine_request.new_machine = new_machine

src/a/t/atmosphere-HEAD/core/admin.py   atmosphere(Download)
from core.models.volume import Volume
 
from core.application import save_app_data
from threepio import logger
 
        if change:
            try:
                save_app_data(application)
            except Exception, e:
                logger.exception("Could not update metadata for application %s"