Page MenuHomeSoftware Heritage

api/apiresponse: Add typing information
ClosedPublic

Authored by anlambert on Sep 22 2020, 4:15 PM.

Details

Summary

Add typing for functions in module swh.web.api.apiresponse.

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Sep 22 2020, 4:17 PM

Update: Fix and simplify make_api_response code.

Build is green

Patch application report for D4010 (id=14150)

Rebasing onto 5f070f05d3...

Current branch diff-target is up to date.
Changes applied before test
commit 7fc3162297d47be55007190b72ba5ae04ebf12b2
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Tue Sep 22 16:11:57 2020 +0200

    api/apiresponse: Add typing information

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/385/ for more details.

Build is green

Patch application report for D4010 (id=14151)

Rebasing onto 5f070f05d3...

Current branch diff-target is up to date.
Changes applied before test
commit 023f0e60dc225eddebf48df28cf324445188c4fa
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Tue Sep 22 16:11:57 2020 +0200

    api/apiresponse: Add typing information

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/386/ for more details.