Skip to content

Commit 4348df8

Browse files
fix: dict keys can't be nested literals
1 parent 33e9fd8 commit 4348df8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_duckdb-stubs/_typing.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ PythonLiteral: TypeAlias = (
4646
NonNestedLiteral
4747
| list[PythonLiteral]
4848
| tuple[PythonLiteral, ...]
49-
| dict[PythonLiteral, PythonLiteral]
49+
| dict[NonNestedLiteral, PythonLiteral]
5050
| NPArrayLike[Any, Any]
5151
| None
5252
)

0 commit comments

Comments
 (0)