BUG: name override not passed through in recursive _asdict call (#2613)

### Description
The only real change here is adding this line:
```python
                    apply_name_overload=apply_name_overload,
```

Everything else is from running `make tidy`
This commit is contained in:
Roman Isecke 2024-03-07 12:17:22 -05:00 committed by GitHub
parent b59e4b69ce
commit 9866f1b52b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
## 0.12.6-dev6
## 0.12.6-dev7
### Enhancements

View File

@ -1 +1 @@
__version__ = "0.12.6-dev6" # pragma: no cover
__version__ = "0.12.6-dev7" # pragma: no cover

View File

@ -56,6 +56,7 @@ def _asdict(
encode_json=encode_json,
redact_sensitive=redact_sensitive,
redacted_text=redacted_text,
apply_name_overload=apply_name_overload,
)
if getattr(field, "sensitive", False) and redact_sensitive and value:
value = redacted_text