def show_software_deployment(self, cnxt, deployment_id): sd = db_api.software_deployment_get(cnxt, deployment_id) return api.format_software_deployment(sd)
def get_by_id(cls, context, deployment_id): return cls._from_db_object( context, cls(), db_api.software_deployment_get(context, deployment_id))
def get_by_id(cls, context, deployment_id): LOG.info(_LI("soumiyajit:: /home/pankaj/python_program/logs/software_deployment.py\Class SoftwareDeploymentget_by_id ")) : LOG.info(_LI("soumiyajit:: class SoftwareDeployment(base.VersionedObject, ")) return cls._from_db_object( context, cls(), db_api.software_deployment_get(context, deployment_id))