Staging instance, all changes can be removed at any time

Skip to content

luigi: fix(?) typing issue when using tqdm while reading csv file

David Douard requested to merge douardda/swh-graph:fix-tqdm-typing into master

For some reason, I have to explicitly cast the row iterator otherwise I get a:

swh/graph/luigi/blobs_datasets.py:279: error: Incompatible types in assignment (expression has type "tqdm[list[str]]", variable has type "_reader")  [assignment]

with:

  • tqdm 4.66.1 and 4.66.4
  • types-tqdm 4.66.0.20240417
  • mypy 1.8.0 and 1.10.1

Merge request reports

Loading