HomeSoftware Heritage

backfill: Make integer_ranges() work on str args + add typing to…
8b65e42f5adbUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

backfill: Make integer_ranges() work on str args + add typing to RANGE_GENERATORS

Without the type annotation, mypy errors with 'Cannot call function of unknown type'
when called from a type-checked function.

Details

Provenance
vlorentzAuthored on Mar 15 2022, 4:56 PM
vlorentzPushed on Mar 15 2022, 5:20 PM
Parents
R65:77f7e6d10afa: postgresql: Remove unused listener code from db.py
Branches
Unknown
Tags
Unknown
References
tag: phabricator/diff/26576, tag: phabricator/base/26590

Event Timeline