def _list(self):
    (functions, errors) = self.rest.list_functions()
    _exit_if_errors(errors)
    for function in functions:
        print(function['appname'])
        status = ''
        if function['settings']['deployment_status']:
            status = 'Deployed'
        else:
            status = 'Undeployed'
        print(f' Status: {status}')
        print(f" Source Bucket: {function['depcfg']['source_bucket']}")
        print(f" Metadata Bucket: {function['depcfg']['metadata_bucket']}")
def _list(self):
    (functions, errors) = self.rest.list_functions()
    _exit_if_errors(errors)
    for function in functions:
        print(function['appname'])
        status = 
        if function['settings']['deployment_status']:
            status = 'Deployed'
        else:
            status = 'Undeployed'
        print(f' Status: {status}')
        print(f" Source Bucket: {function['depcfg']['source_bucket']}")
        print(f" Metadata Bucket: {function['depcfg']['metadata_bucket']}")