mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-11-26 23:29:57 +00:00
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:
parent
b59e4b69ce
commit
9866f1b52b
@ -1,4 +1,4 @@
|
|||||||
## 0.12.6-dev6
|
## 0.12.6-dev7
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
__version__ = "0.12.6-dev6" # pragma: no cover
|
__version__ = "0.12.6-dev7" # pragma: no cover
|
||||||
|
|||||||
@ -56,6 +56,7 @@ def _asdict(
|
|||||||
encode_json=encode_json,
|
encode_json=encode_json,
|
||||||
redact_sensitive=redact_sensitive,
|
redact_sensitive=redact_sensitive,
|
||||||
redacted_text=redacted_text,
|
redacted_text=redacted_text,
|
||||||
|
apply_name_overload=apply_name_overload,
|
||||||
)
|
)
|
||||||
if getattr(field, "sensitive", False) and redact_sensitive and value:
|
if getattr(field, "sensitive", False) and redact_sensitive and value:
|
||||||
value = redacted_text
|
value = redacted_text
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user