Dmitrij Matveev

Results 12 comments of 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?