Dmitrij Matveev
Dmitrij Matveev
As I understand, pipe_to should work with an async buffer, couldn't find one though.
> Does this help: [5008af0](https://github.com/omarryhan/aiogoogle/commit/5008af099387778451ed3d97419b61e487b380d5) ? Not much. Ideally, I would want some std Python buffer to work with this. My main goal is to download a file from drive...
I think it is fair to say that my programming skills are not on this level yet, so.. I would really love some more explanation π
I think I found [something](https://github.com/Tinche/aiofiles). `AsyncBufferedIOBase` and `AsyncBufferedReader` from `aiofiles.tempfile` Is this what I need? I still don't really understand how to use it though..
I worked it out! This is a compiled example from the pieces of my project. ```py from io import BytesIO from aiofiles.tempfile import TemporaryFile async def main(): async with Aiogoogle(user_creds=user_creds,...
Sorry for long time to answer, had to focus on my own project for a little while. As I said, I don't think I have the knowledge to think of...
For now, I found a workaround to my problem. ```py req = drive.files.create(pipe_from=True) req.media_upload.file_body = contents req.media_upload.pipe_from = None ``` This is, of course, fairly ugly and not intended.
> Development mode works but I get an error when building Has anyone managed to get this working?
ΠΠ°ΡΠΊΠΎΠ»ΡΠΊΠΎ Ρ ΠΏΠΎΠ½ΠΈΠΌΠ°Ρ, ΡΡΠΎ ΠΌΠ΅ΡΠΎΠ΄Ρ Ρ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠΎΠΌ `fields` (?) ΠΡΠ΅Π½Ρ Π±Ρ Ρ ΠΎΡΠ΅Π»ΠΎΡΡ ΡΠ²ΠΈΠ΄Π΅ΡΡ Π΄ΠΈΠ½Π°ΠΌΠΈΡΠ΅ΡΠΊΡΡ ΡΠΈΠΏΠΈΠ·Π°ΡΠΈΡ ΠΎΡΠ²Π΅ΡΠΎΠ² ΡΠ°ΠΊΠΈΡ Π·Π°ΠΏΡΠΎΡΠΎΠ². ΠΡΠΌΠ°Ρ, Π±ΡΠ΄Π΅Ρ ΡΠ΅Π»Π΅Π²Π°Π½ΡΠ½ΠΎ: https://github.com/drizzle-team/drizzle-orm#feature-showcase-postgresql SQL Query Builder Ρ ΠΎΡΠ΅Π½Ρ Ρ ΠΎΡΠΎΡΠ΅ΠΉ ΡΠΈΠΏΠΈΠ·Π°ΡΠΈΠ΅ΠΉ. ΠΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ,...
Hey. Is there any progress on this? Maybe, any tips on hacking together something for this library to work with v3?