Skip to content

chore: Return Self from SolverStatus.from_termination_condition#746

Merged
FabianHofmann merged 1 commit into
masterfrom
chore/strenum-followups
Jun 3, 2026
Merged

chore: Return Self from SolverStatus.from_termination_condition#746
FabianHofmann merged 1 commit into
masterfrom
chore/strenum-followups

Conversation

@FBumann
Copy link
Copy Markdown
Collaborator

@FBumann FBumann commented Jun 3, 2026

Changes proposed in this Pull Request

Small follow-up to #739 (Python 3.11 syntax modernization).

SolverStatus.from_termination_condition still returned the quoted "SolverStatus", while its sibling process and Status.from_termination_condition were converted to Self in #739. This makes it consistent.

No functional change.

Checklist

  • I consent to the release of this PR's code under the MIT license.

🤖 Generated with Claude Code

@FBumann FBumann marked this pull request as draft June 3, 2026 13:11
@FBumann FBumann force-pushed the chore/strenum-followups branch from c8eb24d to 08e0f28 Compare June 3, 2026 13:36
@FBumann FBumann changed the title Follow-ups to #739: pin StrEnum status contract & clarify process() param Follow-ups to #739: pin StrEnum status contract Jun 3, 2026
Follow-up to #739 (Python 3.11 syntax): SolverStatus.from_termination_condition
now returns `Self` instead of the quoted "SolverStatus", matching its sibling
`process` and Status.from_termination_condition, which #739 converted but
missed here. No functional change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@FBumann FBumann force-pushed the chore/strenum-followups branch from 08e0f28 to 3058810 Compare June 3, 2026 13:40
@FBumann FBumann changed the title Follow-ups to #739: pin StrEnum status contract Return Self from SolverStatus.from_termination_condition Jun 3, 2026
@FBumann FBumann marked this pull request as ready for review June 3, 2026 13:40
@FBumann FBumann requested a review from FabianHofmann June 3, 2026 13:41
@FBumann FBumann changed the title Return Self from SolverStatus.from_termination_condition chore: Return Self from SolverStatus.from_termination_condition Jun 3, 2026
@FabianHofmann FabianHofmann merged commit a74724f into master Jun 3, 2026
20 checks passed
@FabianHofmann FabianHofmann deleted the chore/strenum-followups branch June 3, 2026 14:02
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