INNER CODE UNIT · Python
response
siznax/wptools · wptools/core.py:250
def response(self, action=None):
"""
returns cached response (as dict) for given action,
or list of cached actions
"""
if action in self.cache:
return self.cache[action]['response']
return self.cache.keys() or None
def show(self):
"""
Pretty-print instance data
"""
if not self.data:
return
if self.data.get('continue'):
return