Page MenuHomeSoftware Heritage

api/server: fix the add_stream endpoint
ClosedPublic

Authored by douardda on Mar 19 2019, 11:44 AM.

Details

Summary

since received chunks must be decoded one at a time.

also replace asyncio coroutines by native ones

Diff Detail

Repository
rDOBJS Object storage
Branch
master
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 4719
Build 6286: tox-on-jenkinsJenkins
Build 6285: arc lint + arc unit

Event Timeline

also replace asyncio coroutines by native ones

Aren't these only available starting with python 3.7?

nvm, 3.7 makes them keyword, but this syntax is valid in 3.5 too.

This revision is now accepted and ready to land.Mar 19 2019, 12:08 PM
This revision was automatically updated to reflect the committed changes.