Commit 0ccc238
[FIX] fs_attachment_s3: Fix GC bulk delete to S3
s3fs uses aiobotocore as s3 client, which is asynchronous, but Odoo does
not support async calls, therefore the call to delete objects from S3 was
not working. The fsspec library provides a way to run async calls in a
synchronous way. The fsspec.asyn.sync function is now used to run the async
call to delete objects from S3, in a synchronous way, in order to make it
work in Odoo.1 parent 51cfad6 commit 0ccc238
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
0 commit comments