HomeSoftware Heritage

api: Add typing to view function signatures

Description

api: Add typing to view function signatures

Because parameters of Web API view functions were not typed, mypy was
not processing the body of those functions and thus typing errors could
be missed.

So add typing to these function signatures and fix new mypy errors now
new code is processed.

Details

Provenance
anlambertAuthored on Jun 3 2022, 3:19 PM
anlambertPushed on Jun 8 2022, 3:35 PM
Differential Revision
D7959: api: Add typing to view function signatures
Parents
rDWAPPS66ded032dca0: assets/functions: Add missing await keywords in getCanonicalOriginURL
Branches
Unknown
Tags
Unknown
Build Status
Buildable 29805
Build 46581: test-and-buildJenkins console · Jenkins