Commit c6448e5
committed
fix: Add type casts for dpath.values and dpath.get to fix MyPy errors
MyPy was complaining that dpath.values() and dpath.get() return 'object' type.
Added cast(Iterable[Any], ...) for dpath.values() and cast(Any, ...) for dpath.get()
to satisfy MyPy type checking while maintaining runtime behavior.
All 29 tests passing. MyPy check now passes.
Co-Authored-By: unknown <>1 parent c6a9d05 commit c6448e5
1 file changed
Lines changed: 3 additions & 3 deletions
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
0 commit comments