|
|
@ -72,10 +72,10 @@ class CallbackBase:
|
|
|
|
del abridged_result['invocation']
|
|
|
|
del abridged_result['invocation']
|
|
|
|
|
|
|
|
|
|
|
|
# remove invocation info unless its very very verbose
|
|
|
|
# remove invocation info unless its very very verbose
|
|
|
|
if 'invocation' in result and (self._display.verbosity < 3 or no_log):
|
|
|
|
if 'invocation' in abridged_result and self._display.verbosity < 3:
|
|
|
|
del result['invocation']
|
|
|
|
del abridged_result['invocation']
|
|
|
|
|
|
|
|
|
|
|
|
return json.dumps(result, indent=indent, ensure_ascii=False, sort_keys=sort_keys)
|
|
|
|
return json.dumps(abridged_result, indent=indent, ensure_ascii=False, sort_keys=sort_keys)
|
|
|
|
|
|
|
|
|
|
|
|
def _handle_warnings(self, res):
|
|
|
|
def _handle_warnings(self, res):
|
|
|
|
''' display warnings, if enabled and any exist in the result '''
|
|
|
|
''' display warnings, if enabled and any exist in the result '''
|
|
|
|