https://prefect.io logo
Title
c

Choenden Kyirong

05/02/2023, 6:17 PM
Is it possible to pass a file to a prefect flow via a parameter? The file is small but would contain data that is required for the flow to execute some tasks. This would be run ad-hoc.
1
r

redsquare

05/02/2023, 6:25 PM
better to pass a reference to the file really and let the flow download it, as a param it gets stored in the db
c

Choenden Kyirong

05/02/2023, 6:28 PM
hmm interesting. So something like: upload to S3 -> pass S3 link to prefect -> …
👍 1
Is there be a way to have a “sensor” or some sort of way to notice a new file in S3 to then trigger? @redsquare
r

redsquare

05/02/2023, 6:31 PM
I suspect that will be coming soon from what I have heard here
need to use a lambda from an s3 trigger currently to trigger a flow
c

Choenden Kyirong

05/02/2023, 6:32 PM
@redsquare ahh gotchya- okay. Thats good to know.
👍 1