Skip to content
Discussion options

You must be logged in to vote

It looks like your sensor definition

@sensor(job=master_inventory)
def inventory_file_ready_sensor(context: AssetExecutionContext):

is pointing to master_inventory, which looks like a module (you import a job from it in your definitions). Did you perhaps mean to point it to master_inventory_list_job? So it'd look like this:

from ..jobs.master_inventory import master_inventory_list_job
@sensor(job=master_inventory_list_job)
def inventory_file_ready_sensor(context: AssetExecutionContext):

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rrazavipour
Comment options

Answer selected by smackesey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area: code-locations Related to Code Locations and Definitions
2 participants