Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion ci/upgrade/lens_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,10 @@ def facts(api, token):
c["text"] for c in api.get(f"/resources/{rid}/comments")
)
entities = api.get("/entities", namespaces=NS, limit=200)["items"]
out["entities"] = sorted(e["name"] for e in entities)
# every entity by name, whatever its type: an upgrade step may type a Term (Monday becomes a Date, which the list
# leaves out unless asked for), but none may go
quiet = api.get("/entities", namespaces=NS, limit=200, types="DATE,NUMBER")["items"]
out["entities"] = sorted(e["name"] for e in entities + quiet)
for e in entities:
if e["name"] == ENTITY["name"]:
out[f"entity {e['name']}"] = {
Expand Down
Loading