Skip to content

Remove the get_modeling_metrics client methods - #39

Merged
joshuanapoli merged 2 commits into
mainfrom
jn/remove-modeling-metrics
Nov 8, 2026
Merged

joshuanapoli merged 2 commits into
mainfrom
jn/remove-modeling-metrics

Conversation

@joshuanapoli

@joshuanapoli joshuanapoli commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Description

Removes the get_modeling_metrics, get_modeling_metrics_data and get_modeling_metrics_data_arrow client methods, along with their README sections, their three examples, and tests/test_modeling.py. After this change the repository no longer mentions them.

The backend routes these methods call (/api/modeling/metrics, /metrics/data and /metrics/data/arrow) are being removed in CVector-Energy/cvec-backend#852. Their last callers, the cvec-modeling-platform connector_data_watchdog and loci_monitor Lambdas, now read the Data Marketplace from aion. Prod CloudFront logs show no requests to these routes since 2026-11-05.

Risks

  • Breaking change. Code that still calls these methods gets an AttributeError instead of a 404 from the backend. No current code in any CVector repository calls them.
  • Version. Bumps the version from 1.5.3 to 2.0.0 (pyproject.toml and uv.lock), because removing public methods is a breaking change.

Testing

Author

  • uv run ruff format --check . / ruff check .: clean.
  • uv run mypy src tests: clean.
  • uv run pytest: 67 passed.
  • git grep -i modeling finds nothing.

Reviewer

  • No manual steps needed.

🤖 Generated with Claude Code

joshuanapoli and others added 2 commits November 8, 2026 10:40
The backend is removing the /api/modeling routes these methods called (CVector-Energy/cvec-backend#852). Their last callers in cvec-modeling-platform moved to aion, and prod has had no requests to them since 2026-11-05. Drops the three methods, their README sections, examples and tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Removing public client methods is a breaking change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@joshuanapoli
joshuanapoli requested a review from alok27a November 8, 2026 15:42

@alok27a alok27a left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks

@joshuanapoli
joshuanapoli merged commit 6938715 into main Nov 8, 2026
6 checks passed
@joshuanapoli
joshuanapoli deleted the jn/remove-modeling-metrics branch November 8, 2026 15:53
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