Skip to content

Investigate using Pydantic PrivateAttr and SecretStr to eliminate dump_to_primitive_dict methods #1440

@coderabbitai

Description

@coderabbitai

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:

  1. Use PrivateAttr for private attributes like username
  2. Use SecretStr for sensitive fields like password

This would allow complete removal of dump_to_primitive_dict() methods throughout the codebase.

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions