bearomorphism opened a new pull request, #59378: URL: https://github.com/apache/spark/pull/59378
### What changes were proposed in this pull request? Replace two `type: ignore` comments in remote ML calls with string assertions before parsing object identifiers. ### Why are the changes needed? Make the existing string requirement explicit and let mypy narrow the type without suppressing errors. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? - Mypy passed for all 114 ML source files. - Existing ML typing suite: 11 tests passed. - Ruff lint/format and `git diff --check` passed. No new tests: this is a small type-narrowing cleanup. JVM/server integration tests were not run. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: pi 1.1.0 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
