Skip to content

fix: re-export ModelVersion from tabpfn_client.constants - #384

Merged
ggprior merged 1 commit into
mainfrom
georg/reexport_model_version
Sep 11, 2026
Merged

fix: re-export ModelVersion from tabpfn_client.constants#384
ggprior merged 1 commit into
mainfrom
georg/reexport_model_version

Conversation

@ggprior

@ggprior ggprior commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

ModelVersion moved from tabpfn_client.constants to tabpfn_client.api_models in #336, so existing code doing from tabpfn_client.constants import ModelVersion raises ImportError. This re-exports it from constants; api_models stays the canonical location.

The re-export restores the enum members (now including V3_5), not the old class's model_limit() / from_model_path() methods. Their replacements are tabpfn_client.utils.model_limit_from_version and model_version_from_path.

Generated with Claude Code

https://claude.ai/code/session_0165X2g14vDuGEkkxvHqRjS2

ModelVersion moved to tabpfn_client.api_models, so code importing it
from tabpfn_client.constants raises ImportError. The re-export restores
that path; api_models stays the canonical home.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0165X2g14vDuGEkkxvHqRjS2
@ggprior
ggprior requested a review from a team as a code owner September 11, 2026 12:50
@ggprior

ggprior commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

This change is part of the following stack:

Change managed by git-spice.

@ggprior
ggprior added this pull request to the merge queue Sep 11, 2026
Merged via the queue into main with commit de25154 Sep 11, 2026
11 checks passed
@ggprior
ggprior deleted the georg/reexport_model_version branch September 11, 2026 13:19
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