In attr/ make.py , the internal is class var() helper determines whether an annotation is a typing.ClassVar…
In attr/ make.py , the internal is class var() helper determines whether an annotation is a typing.ClassVar…: a task in harness-adapters: Agentic coding environments (Harbor dataset). The problem: When Python represents an annotation as a typing.ForwardRef object (e.g. ForwardRef("ClassVar str ")…
The task
**The problem:** When Python represents an annotation as a `typing.ForwardRef` object (e.g. `ForwardRef("ClassVar[str]")`), converting it directly to a string produces `"ForwardRef('ClassVar[str]')"`, which does **not** match the expected prefixes. As a result, such annotations are not recognized as class variables.
Part of harness-hub/harness-adapters.