my prefect server setup prefect-metrics.waow.tech
python orchestration
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: drop updated_at from observation query include_attributes

existing namespaces don't have this attribute yet — requesting it
causes a schema error. updated_at will appear on new writes; the
query can add it back once data has migrated.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+2 -3
+2 -3
flows/curate.py
··· 511 511 rank_by=("created_at", "desc"), 512 512 top_k=50, 513 513 filters={"kind": ["Eq", "observation"]}, 514 - include_attributes=["content", "tags", "created_at", "updated_at"], 514 + include_attributes=["content", "tags", "created_at"], 515 515 ) 516 516 if not resp.rows: 517 517 return f"no observations for @{handle}" ··· 520 520 tags = list(getattr(row, "tags", []) or []) 521 521 tag_str = f" [{', '.join(tags)}]" if tags else "" 522 522 created = getattr(row, "created_at", "?") 523 - updated = getattr(row, "updated_at", None) or "never" 524 523 lines.append( 525 524 f"id={row.id}{tag_str}\n" 526 525 f" {row.content}\n" 527 - f" created: {created} | updated: {updated}" 526 + f" created: {created}" 528 527 ) 529 528 return f"{len(resp.rows)} observations for @{handle}:\n" + "\n".join(lines) 530 529 except Exception as e: