Skip to content

Commit

Permalink
fix: Output JSONPath expression with match count message (meltano#2118)
Browse files Browse the repository at this point in the history
Output jsonpath expression with match count message
  • Loading branch information
mjsqu authored Dec 19, 2023
1 parent 40b6333 commit 49c2a9c
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 49c2a9c

Please sign in to comment.