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:
@ -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)
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user