HomeElementl

Allow passing in a DagsterInstance directly via build_sensor_context (#4799)

Description

Allow passing in a DagsterInstance directly via build_sensor_context (#4799)

Summary:
Without this change, if you're using a mock DagsterInstance for your sensor test, you have to awkwardly include get_ref as part of the mock. With this change the test path can just pass the DagsterInstance straight through.

Test Plan: Existing sensor tests still pass

Details

Provenance
dgibsonAuthored on Nov 10 2021, 10:01 PM
GitHub <noreply@github.com>Committed on Nov 10 2021, 10:01 PM
Parents
R1:9798b1bdf093: Revert "Enable memoization on every executor (#5506)" (#5609)
Branches
Unknown
Tags
Unknown