From f1cf7d1f953586dd44a4463d924f1a1f52717c37 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Fri, 21 Jan 2022 12:51:26 -0800 Subject: [PATCH] add helper function info --- jc/parsers/foo.py | 6 ++++-- jc/parsers/foo_s.py | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/jc/parsers/foo.py b/jc/parsers/foo.py index f676fe42..2743c05f 100644 --- a/jc/parsers/foo.py +++ b/jc/parsers/foo.py @@ -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) diff --git a/jc/parsers/foo_s.py b/jc/parsers/foo_s.py index ea357cd1..9b29e337 100644 --- a/jc/parsers/foo_s.py +++ b/jc/parsers/foo_s.py @@ -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)