https://dagster.io/ logo
Title
s

Stefan Adelbert

03/07/2022, 5:25 AM
Sensor that uses resources I'd like to create a sensor that triggers a job for each email in an inbox matching certain criteria. I have already created a resource which my ops use to interact with a gmail account. That gmail resource is itself dependent on another resource which supplies authentication credentials. I'd like to reuse these resources with my sensor, but it seems like
@sensor
doesn't support providing resources. Any tips on reusing resources with sensors?
s

Stefan Adelbert

03/07/2022, 6:01 AM
Oh yes! 👍
y

yuhan

06/22/2022, 6:08 AM
@Dagster Bot discussion Sensor that uses resources
d

Dagster Bot

06/22/2022, 6:08 AM
Question in the thread has been surfaced to GitHub Discussions for future discoverability: https://github.com/dagster-io/dagster/discussions/8556