We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 591f377 commit 6f92522Copy full SHA for 6f92522
mypy/semanal_typeddict.py
@@ -324,7 +324,7 @@ def analyze_typeddict_classdef_fields(
324
analyzed = self.api.anal_type(
325
stmt.type,
326
allow_required=True,
327
- allow_unpack=True,
+ # TODO allow_unpack=True ?
328
allow_placeholder=not self.api.is_func_scope(),
329
prohibit_self_type="TypedDict item type",
330
)
@@ -529,7 +529,7 @@ def parse_typeddict_fields_with_types(
529
530
type,
531
532
533
534
535
0 commit comments