Context
This issue tracks a follow-up refactoring task identified during PR #1417.
Task
Investigate using Pydantic features to eliminate the need for custom dump_to_primitive_dict() methods:
- Use PrivateAttr for private attributes like
username
- Use SecretStr for sensitive fields like
password
This would allow complete removal of dump_to_primitive_dict() methods throughout the codebase.
References
Context
This issue tracks a follow-up refactoring task identified during PR #1417.
Task
Investigate using Pydantic features to eliminate the need for custom
dump_to_primitive_dict()methods:usernamepasswordThis would allow complete removal of
dump_to_primitive_dict()methods throughout the codebase.References