Page MenuHomeSoftware Heritage

api: Fix error when no extra_encoders is given to negotiate
ClosedPublic

Authored by anlambert on Feb 18 2020, 4:30 PM.

Details

Summary

Some remote api (for instance the scheduler one) does not declare any
extra_encoders in the negotiate decorator. This was raising an error
when querying any declared endpoint.

(see https://jenkins.softwareheritage.org/job/DSCH/job/tox/349/console)

Diff Detail

Repository
rDCORE Foundations and core functionalities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.