Staging instance, all changes can be removed at any time

Skip to content

Fix a couple of mypy issues

On my setup (bullseye, python39), without these, I get the following errors:

swh/provenance/postgresql/archive.py:115: error: Incompatible return value type (got "List[Tuple[Any, ...]]", expected "List[Tuple[bytes, bytes]]") swh/provenance/postgresql/provenance.py:93: error: Value of type "Optional[RealDictRow]" is not indexable


Migrated from D8346 (view on Phabricator)

Merge request reports

Loading