Skip to content

Fix ruff B039 warning: avoid using mutable default values for ContextVar#13157

Closed
nillvitor wants to merge 1 commit into
fastapi:masterfrom
nillvitor:fix/b039
Closed

Fix ruff B039 warning: avoid using mutable default values for ContextVar#13157
nillvitor wants to merge 1 commit into
fastapi:masterfrom
nillvitor:fix/b039

Conversation

@nillvitor

Copy link
Copy Markdown
Contributor

Fix B039 warning: avoid using mutable default values for ContextVar.

This fix addresses the B039 warning in ruff version 0.8.4. It is necessary to allow upgrading the ruff version in the requirements to 0.8.4, which previously failed in the tests for pull request #13131.

@github-actions github-actions Bot added the docs Documentation about how to use FastAPI label Jan 4, 2025
@github-actions

github-actions Bot commented Jan 4, 2025

Copy link
Copy Markdown
Contributor

📝 Docs preview for commit 4afd64d at: https://111ebc3d.fastapitiangolo.pages.dev

@alejsdev

alejsdev commented Jan 5, 2025

Copy link
Copy Markdown
Member

Hello @nillvitor, thanks for your interest in contributing. However, this is no longer necessary since the Peewee tutorial was removed a while ago. These files were already removed in another PR, but thanks for your effort! 🙌 ✨

@alejsdev alejsdev closed this Jan 5, 2025
@nillvitor nillvitor deleted the fix/b039 branch January 9, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation about how to use FastAPI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants