Any way to express that a dict is expected to have a key(s) but don't care about other keys?
by Brett Cannon 20 Jun '23
by Brett Cannon 20 Jun '23
20 Jun '23
17
35
5
6
7
10
PEP 655: Marking individual TypedDict items as required or potentially-missing
by David Foster 23 Feb '22
by David Foster 23 Feb '22
23 Feb '22
10
31
12 Apr '21
3
2
19 Mar '21
2
2
isinstance(instance, protocol) with protocol members without default values (PEP 544)
by Paul Dest 19 Mar '21
by Paul Dest 19 Mar '21
19 Mar '21
2
3
isinstance(instance, protocol) with protocol members without default values (PEP 544)
by Paul Dest 18 Mar '21
by Paul Dest 18 Mar '21
18 Mar '21
1
0
7
22
2
1