Skip to content

Commit

Permalink
Output jsonpath expression with match count message
Browse files Browse the repository at this point in the history
  • Loading branch information
mjsqu committed Dec 19, 2023
1 parent 40b6333 commit e34c62d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singer_sdk/helpers/jsonpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def extract_jsonpath(
match: jsonpath_ng.DatumInContext
matches = compiled_jsonpath.find(input)

logger.info("JSONPath matches: %d", len(matches))
logger.info("JSONPath %s match count: %d", expression, len(matches))

for match in matches:
yield match.value
Expand Down

0 comments on commit e34c62d

Please # to comment.