Skip to content

[MINOR][ML][PYTHON] Narrow FM model types in examples - #59342

Closed
bearomorphism wants to merge 1 commit into
apache:masterfrom
bearomorphism:fix-fm-example-types
Closed

bearomorphism wants to merge 1 commit into
apache:masterfrom
bearomorphism:fix-fm-example-types

Conversation

@bearomorphism

@bearomorphism bearomorphism commented Oct 11, 2026 •

Copy link
Copy Markdown

What changes were proposed in this pull request?

Remove type: ignore and use modern f-string in examples.

Why are the changes needed?

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Run

   ruff check examples/src/main/python/ml/fm_{classifier,regressor}_example.py

Was this patch authored or co-authored using generative AI tooling?

Yes. The type issues are investigated by GPT-6-Astra with pi coding agent.

@bearomorphism
bearomorphism marked this pull request as draft October 11, 2026 03:26
@bearomorphism
bearomorphism marked this pull request as ready for review October 11, 2026 03:27
@bearomorphism
bearomorphism marked this pull request as draft October 11, 2026 03:29
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.

1 participant