sbp commented on code in PR #430:
URL: 
https://github.com/apache/tooling-trusted-releases/pull/430#discussion_r2635633526


##########
atr/sbom/utilities.py:
##########
@@ -164,3 +195,35 @@ def _map_severity(severity: str) -> str:
         if sev == "moderate":
             return "medium"
     return "unknown"
+
+
+def _record_task(task: str, revision: str, doc: yyjson.Document, patch_ops: 
models.patch.Patch) -> models.patch.Patch:
+    properties: list[dict[str, str]] | None = get_pointer(doc, "/properties")

Review Comment:
   Ah, but the `services` key is also a `str`. Phew, I'm slow on this one. So 
it would be `{"tools": {"services": [{"service": "blah"}]}}`, right? So that's 
`dict[str, dict[str, list[dict[str, str]]]]` at the very least for tools.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to