in src/openwhisk/openwhisk.py [0:0]
def namespace(self, options=None):
if options is not None and isinstance(options['namespace'], str):
return urllib.parse.quote(options['namespace'].encode('utf-8'))
if 'namespace' in self.client.options and isinstance(self.client.options['namespace'], str):
return urllib.parse.quote(self.client.options['namespace'].encode('utf-8'))
return urllib.parse.quote(default_namespace)