8000 Use orjson instead of json, when available by hauntsaninja · Pull Request #17955 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

Use orjson instead of json, when available #17955

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
< 8000 /include-fragment>
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix missing spot
  • Loading branch information
hauntsaninja committed Oct 16, 2024
commit bd6536d4dc8185e8060e5d61ec538193db5370d9
2 changes: 1 addition & 1 deletion mypy/metastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def _query(self, name: str, field: str) -> Any:
if not self.db:
raise FileNotFoundError()

cur = self.db.execute(f"SELECT {field} FROM files WHERE path = ?", (name,))
cur = self.db.execute(f"SELECT {field} FROM files2 WHERE path = ?", (name,))
results = cur.fetchall()
if not results:
raise FileNotFoundError()
Expand Down
Loading
0