You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to re-create example from https://github.com/dagster-io/dagster/blob/master/examples/project_fully_featured/project_fully_featured/sensors/hn_tables_updated_sensor.py but i am getting this error Attempted to provide more than one of 'job', 'jobs', 'job_name', and 'asset_selection' params to SensorDefinition
this is my code
assets.py
@dbt_assets(manifest=DBT_MANIFEST_PATH) def dbt_assets(context: OpExecutionContext, dbt: DbtCliResource): yield from dbt.cli(["build"], context=context).stream()
jobs.py
` dbt_selection = build_dbt_asset_selection([dbt_assets], dbt_select='account')
sign_acc_001_sensor = make_dds_tables_updated_sensor(
define_asset_job('account', selection=dbt_selection)
)`
sensors.py
` def make_tables_updated_sensor(job) -> SensorDefinition:
Beta Was this translation helpful? Give feedback.
All reactions