1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-15 01:24:29 +02:00

add helper function info

This commit is contained in:
Kelly Brazil
2022-01-21 12:51:26 -08:00
parent df611cc263
commit f1cf7d1f95
2 changed files with 7 additions and 5 deletions

View File

@ -100,9 +100,11 @@ def parse(data, raw=False, quiet=False):
if jc.utils.has_data(data):
for line in filter(None, data.splitlines()):
#
# parse the content here
#
# check out helper functions in jc.utils
# and jc.parsers.universal
pass
return raw_output if raw else _process(raw_output)

View File

@ -119,9 +119,9 @@ def parse(data, raw=False, quiet=False, ignore_exceptions=False):
try:
jc.utils.streaming_line_input_type_check(line)
#
# parse the input here
#
# parse the content here
# check out helper functions in jc.utils
# and jc.parsers.universal
if output_line:
yield stream_success(output_line, ignore_exceptions) if raw else stream_success(_process(output_line), ignore_exceptions)