Fix tracing to use ServiceSettings API instead of dict access

The ServiceSettings refactor (PR #3714) changed self._settings from
dicts to dataclass subclasses, but tracing code still used .items(),
in containment, and subscript access, causing AttributeError on
every traced call. Use given_fields() for iteration and attribute
access for named fields.
This commit is contained in:
Mark Backman
2026-02-27 22:35:29 -05:00
parent 17205c1647
commit 9d4955054c
3 changed files with 16 additions and 18 deletions

View File

@@ -0,0 +1 @@
- Updated tracing code to use `ServiceSettings` dataclass API (`given_fields()`, attribute access) instead of dict-style access (`.items()`, `in`, subscript).