guillotina_batch's People
Forkers
masipcatguillotina_batch's Issues
Batched file downloads
I'm having problems trying to download several files into a single @batch
call
I couldn't really reproduce the same error that I'm getting on my guillotina installation yet, but the traceback that I get is:
Error on execution of view 6b92591c3d954c2eb98dde045d6b4da2
Traceback (most recent call last):
File "/venv/lib/python3.6/site-packages/guillotina/traversal.py", line 231, in handler
view_result = await self.view()
File "/guillotina_batch/guillotina_batch/api.py", line 214, in __call__
results.append(await self.handle(message))
File "/guillotina_batch/guillotina_batch/api.py", line 123, in handle
result = await self._handle(request, message)
File "/guillotina_batch/guillotina_batch/api.py", line 200, in _handle
'body': view_result.body.read().decode('utf-8'),
AttributeError: 'StreamResponse' object has no attribute 'body'
Unclear to me how we should read the body/contents from the StreamResponse
to later place them in the @batch
response.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.