Commit 6e877bf
fix the return types of the classes' __enter__ functions (#384)
fix the return types of the classes' __enter__ functions so that the type information is preserved in context managers eg with-as blocks
Signed-off-by: wyattscarpenter <wyattscarpenter@gmail.com>
Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com>1 parent a208f55 commit 6e877bf
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
| 275 | + | |
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
| |||
409 | 410 | | |
410 | 411 | | |
411 | 412 | | |
412 | | - | |
| 413 | + | |
| 414 | + | |
413 | 415 | | |
414 | 416 | | |
415 | 417 | | |
| |||
0 commit comments