Preserve RedactedDict type through copy()

This commit is contained in:
Ryan Crabbe 2026-02-28 11:02:03 -08:00
parent c4221c5ab3
commit dd15785db7

View file

@ -10,6 +10,9 @@ class RedactedDict(dict):
def __str__(self) -> str:
return "RedactedDict(REDACTED)"
def copy(self) -> "RedactedDict":
return RedactedDict(super().copy())
class SecretFields(TypedDict):
"""