1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-08-08 22:36:48 +02:00

add stream_success dictionary

This commit is contained in:
Kelly Brazil
2021-09-16 20:25:28 -07:00
parent 481e45fb64
commit a509d99caf

View File

@ -173,6 +173,14 @@ def convert_to_bool(value):
return False
stream_success = {
'_meta':
{
'success': True
}
}
def stream_error(e, quiet, line):
"""reraise the stream exception with annotation or print an error _meta field if quiet=True"""
if not quiet: