You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parameter name `field` shadows `dataclasses.field` (imported at module
top for the dataclass decorator — see line 40). Inside this method body,
any refactor that reaches for `field(default_factory=...)` or similar
silently grabs a string instead of the dataclass helper.
Fix
Rename the parameter:
defget(self, name: str, default: Any=None) ->Any:
All existing call sites use positional arg, so no breakage.
Test
Not strictly necessary (lint would catch some refactor regressions), but
pinning the public signature prevents a future change from re-adding the
collision:
Activity
feat: 3.1.2 — milestone 1 audit follow-ups (13 issues closed)