Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mayagbarnes
Copy link
Collaborator

@mayagbarnes mayagbarnes commented Dec 20, 2025

Describe your changes

Nightly failed due to update in types-authlib dependency (from 1.6.6.20251214 to 1.6.6.20251220 - see here). See passing run based on commit here and failing nightly run based on the same commit here.

The return type for the load_config' function - which we override in streamlit/web/server/authlib_tornado_integration.py- was updated fromNoneto implicitlyAny`.

Our override return value of dict[str, Any] previously needed # type: ignore[override] to suppress the error, but with the new Any return value this is no longer necessary.

@mayagbarnes mayagbarnes added security-assessment-completed Security assessment has been completed for PR impact:internal PR changes only affect internal code change:chore PR contains maintenance or housekeeping change labels Dec 20, 2025
@snyk-io
Copy link
Contributor

snyk-io bot commented Dec 20, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 20, 2025

✅ PR preview is ready!

Name Link
📦 Wheel file https://core-previews.s3-us-west-2.amazonaws.com/pr-13424/streamlit-1.52.2-py3-none-any.whl
📦 @streamlit/component-v2-lib Download from artifacts
🕹️ Preview app pr-13424.streamlit.app (☁️ Deploy here if not accessible)

@mayagbarnes mayagbarnes marked this pull request as ready for review December 20, 2025 09:32
Copilot AI review requested due to automatic review settings December 20, 2025 09:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes an unnecessary # type: ignore[override] comment from the load_config method in the TornadoIntegration class. The comment was previously needed because the parent class in types-authlib 1.6.6.20251214 defined load_config with a return type of None, which conflicted with this override's return type of dict[str, Any]. The dependency update to types-authlib 1.6.6.20251220 changed the parent's return type to Any, making the type ignore comment unnecessary.

Key Changes

  • Removed # type: ignore[override] from the load_config method signature

Copy link
Collaborator

@lukasmasuch lukasmasuch left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@kmcgrady kmcgrady merged commit ab699e2 into develop Dec 20, 2025
73 checks passed
@kmcgrady kmcgrady deleted the fix-auth-type branch December 20, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:chore PR contains maintenance or housekeeping change impact:internal PR changes only affect internal code security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants