in src/openwhisk/openwhisk.py [0:0]
def retrieve_id(self, options=None):
options = options if options is not None else {}
id = next((x for x in self.identifiers if x in options))
if id is None:
raise Exception('Missing resource identifier from parameters, supported parameter names: '+', '.join(self.identifiers))
return options[id]