1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2026-04-24 20:56:11 +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
+8
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: