Skip to content

Commit cba197e

Browse files
authored
[red-knot] Default playground to Python 3.13 for real (#16956)
## Summary Default to 3.13 for good. I incorrectly used `workspace.updateOptions` instead of `updateOptions` where the latter has a fallback. ## Test Plan ```py import os import sys reveal_type(sys.version_info.minor) ``` reveals 13 on initial page load
1 parent 66d0cf2 commit cba197e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playground/knot/src/Editor/Chrome.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default function Chrome() {
9999
}
100100

101101
if (!hasSettings) {
102-
workspace.updateOptions(null);
102+
updateOptions(workspace, null, setUpdateError);
103103
}
104104

105105
dispatchFiles({

0 commit comments

Comments
 (0)