Page MenuHomeSoftware Heritage

2 small improvements
ClosedPublic

Authored by douardda on Thu, Jan 31, 4:04 PM.

Details

Summary
  • Make the cur_arg argument optional in BaseDb.cursor() just to make our life a bit easier...
  • Fix async version of decode_request so thath it does not fail if no payload at all is provided in the request, eg. for an endpoint which really is (or at least should be) a simple GET...

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.

Event Timeline

douardda created this revision.Thu, Jan 31, 4:04 PM
ardumont accepted this revision.Thu, Jan 31, 4:07 PM
This revision is now accepted and ready to land.Thu, Jan 31, 4:07 PM
This revision was automatically updated to reflect the committed changes.