Commit c93a2e0
Fix typing annotation for LogReader constructor
A bug was introduced sometime during refactoring of types in the helper
typechecking.py file, when PathLike was renamed to StringPathLike. This
results in mypy complaining that it can't find the PathLike type:
error: Name 'can.typechecking.PathLike' is not defined
As such, this changes the accepted type for the LogReader constructor
to be a typechecking.StringPathLike.1 parent 7bf3928 commit c93a2e0
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments