Use Parameters instead of Attributes in docstrings to fix duplicate object warnings

Napoleon's Attributes section creates class-level attribute docs that
duplicate the __init__ parameter docs when napoleon_include_init_with_doc
is enabled. Using Parameters avoids the duplication.
This commit is contained in:
Mark Backman
2026-04-03 10:36:36 -04:00
parent f078b8b867
commit c2358b273b
14 changed files with 16 additions and 16 deletions

View File

@@ -40,7 +40,7 @@ class TranscriptHandler:
Maintains a list of conversation messages and outputs them either to a log
or to a file as they are received. Each message includes its timestamp and role.
Attributes:
Parameters:
messages: List of all processed transcript messages
output_file: Optional path to file where transcript is saved. If None, outputs to log only.
"""