File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def extract(chunks: Iterable[JsonDict]) -> Iterable[JsonDict]:
4242 yield chunk
4343 yield from extract (chunk .values ())
4444 elif isinstance (chunk , list ):
45- yield from extract (chunk ) #type: ignore[unreachable] #TODO: is this actually unreachable, or are our types wrong?
45+ yield from extract (chunk ) # type: ignore[unreachable] #TODO: is this actually unreachable, or are our types wrong?
4646
4747 yield from extract ([chunk .data for chunk in chunks ])
4848
@@ -93,7 +93,7 @@ def compress(chunk: JsonDict) -> JsonDict:
9393 def helper (chunk : JsonDict ) -> JsonDict :
9494 nonlocal counter
9595 if not isinstance (chunk , dict ):
96- return chunk #type: ignore[unreachable] #TODO: is this actually unreachable, or are our types wrong?
96+ return chunk # type: ignore[unreachable] #TODO: is this actually unreachable, or are our types wrong?
9797
9898 if len (chunk ) <= 2 :
9999 return chunk
@@ -124,7 +124,7 @@ def decompress(chunk: JsonDict) -> JsonDict:
124124
125125 def helper (chunk : JsonDict ) -> JsonDict :
126126 if not isinstance (chunk , dict ):
127- return chunk #type: ignore[unreachable] #TODO: is this actually unreachable, or are our types wrong?
127+ return chunk # type: ignore[unreachable] #TODO: is this actually unreachable, or are our types wrong?
128128 if ".id" in chunk :
129129 return cache [chunk [".id" ]]
130130
You can’t perform that action at this time.
0 commit comments