Skip to content

Commit 378a1c2

Browse files
committed
Add agent to analysis output
1 parent 32ee6c7 commit 378a1c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/jsonid/file_processing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ async def analyse_json(paths: list[str], strategy: list):
180180
res = await analysis.analyse_input(base_obj.data, base_obj.content_for_analysis)
181181
res["doctype"] = base_obj.doctype
182182
res["encoding"] = base_obj.encoding
183+
res["agent"] = version.get_agent()
183184
if base_obj.doctype == registry.DOCTYPE_JSONL:
184185
res["compression"] = base_obj.compression
185186
res.pop("content_length")

0 commit comments

Comments
 (0)