Skip to content

Fix AnalyzedSeries typehint - #174

Merged
Gerrrr merged 1 commit into
masterfrom
fix-typehint
Aug 27, 2026
Merged

Fix AnalyzedSeries typehint#174
Gerrrr merged 1 commit into
masterfrom
fix-typehint

Conversation

@Gerrrr

@Gerrrr Gerrrr commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request corrects the AnalyzedSeries constructor type hint for change_points to match the object actually used throughout otava/series.py (ChangePointsByMetric), improving static typing accuracy and reducing confusion for callers.

Changes:

  • Updates AnalyzedSeries.__init__ signature to accept change_points: Optional[ChangePointsByMetric] = None instead of an incorrect Dict[str, ChangePoint] type hint.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Gerrrr
Gerrrr marked this pull request as ready for review August 27, 2026 04:00
@Gerrrr
Gerrrr merged commit 8a6353a into master Aug 27, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants