[PRISM] Product inspector: live compatibility graph (max_qty/condition)
lint / hygiene (push) Failing after 21s
lint / hygiene (push) Failing after 21s
This commit is contained in:
1 parent
2032829587
commit
53c324ab41
2 files changed
+9
-1
No files matched your search
+7
-1
@@ -1369,7 +1369,13 @@ def product_info(key):
|
||||
"deployment": d.get("deployment"), "components": d.get("components") or [],
|
||||
"features": _features(d), "archived": is_archived(d),
|
||||
"specs": specs(d),
|
||||
"attributes": D.attrs.get(norm(_dev_name(d)), {})},
|
||||
"attributes": D.attrs.get(norm(_dev_name(d)), {}),
|
||||
"compatibility": [{"to": e.get("to"), "kind": e.get("kind"),
|
||||
"supported": e.get("supported"),
|
||||
"max_qty": e.get("max_qty"),
|
||||
"condition": e.get("condition"),
|
||||
"source": e.get("source")}
|
||||
for e in D.edges.get(norm(_dev_name(d)), [])]},
|
||||
"analogs": analog_search(_dev_name(d), d.get("domain") or "vcs")}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user