solumclient/solum.py
def show(self):
        """Show an application's resource."""
        self.parser.add_argument('plan_uuid',
                                 help="Plan uuid or name")
        args = self.parser.parse_args()
        response = self.client.plans.find(name_or_id=args.plan_uuid)
        fields = ['uuid', 'name', 'description', 'uri', 'artifacts']
        data = dict([(f, getattr(response, f, ''))
                     for f in fields])
        artifacts = copy.deepcopy(data['artifacts'])
        del data['artifacts']
        cliutils.print_dict(data, wrap=72)
        self._show_public_keys(artifacts)
Show an application's resource.
Show an application's resource.
Show an application ' s resource .
def show(self):
        self.parser.add_argument('plan_uuid',
                                 help="Plan uuid or name")
        args = self.parser.parse_args()
        response = self.client.plans.find(name_or_id=args.plan_uuid)
        fields = ['uuid', 'name', 'description', 'uri', 'artifacts']
        data = dict([(f, getattr(response, f, ''))
                     for f in fields])
        artifacts = copy.deepcopy(data['artifacts'])
        del data['artifacts']
        cliutils.print_dict(data, wrap=72)
        self._show_public_keys(artifacts)
def show ( self ) : self . parser . add_argument ( 'plan_uuid' , help = "Plan uuid or name" ) args = self . parser . parse_args ( ) response = self . client . plans . find ( name_or_id = args . plan_uuid ) fields = [ 'uuid' , 'name' , 'description' , 'uri' , 'artifacts' ] data = dict ( [ ( f , getattr ( response , f , '' ) ) for f in fields ] ) artifacts = copy . deepcopy ( data [ 'artifacts' ] ) del data [ 'artifacts' ] cliutils . print_dict ( data , wrap = 72 ) self . _show_public_keys ( artifacts )
Show an application's resource.
Show an application ' s resource .
"""Show an application's resource."""
self