fix: Remove is_inherited from attributes

Closed
DH
24d ago
+2-16

Why

Closes #995

What changed

  • Removed is_inherited from attributes. Since, it's no longer part of Infrahub's GraphQL schema.

Checklist

  • Tests added/updated
  • Changelog entry added (uv run towncrier create ...)
  • External docs updated (if user-facing or ops-facing change)
  • Internal .md docs updated (internal knowledge and AI code tools knowledge)

Summary by cubic

Removed is_inherited from attribute objects, the Attribute protocol, and GraphQL test schemas to align with Infrahub’s current schema. This avoids referencing a field that no longer exists and keeps the SDK and tests in sync.

  • Migration
    • Remove any usage of attribute.is_inherited in consumer code.