Pydantic · Type Alias
SecretStr
SecretStr stores a sensitive string while masking it in normal output. Use get_secret_value() to read the original value when needed.
Last updated
Syntax
password: SecretStrIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
SecretBytesSecretget_secret_valuefield_serializer