https://prefect.io logo
k

kevin

07/06/2022, 5:34 PM
Hey guys, I want to pull down a
.csv
file from a google cloud bucket. It seems like this task is the correct way to go? An alternative I can see is just implementing a python callable that uses the python library for google cloud storage. I'd like some feedback if I'm approaching this problem correctly?
k

Kevin Kho

07/06/2022, 5:35 PM
That does not look like the write way to go. It downloads as a string or bytes
k

kevin

07/06/2022, 5:37 PM
gotcha, it seems I ought to write my own function for grabbing the bucket data then right?
k

Kevin Kho

07/06/2022, 5:39 PM
Yeah I think so
k

kevin

07/06/2022, 5:41 PM
ok, implementation should be pretty straightforward thanks for setting me on the right track