HomeElementl

don't require context arg when solid has required resources

Description

don't require context arg when solid has required resources

Summary:
There are legitimate reasons to require a resource on a solid, but not access it inside the solid:

  • The incoming dagster mlflow resource invokes some mlflow APIs that start an mlflow run and modify global state to point to it, and then the body of the solid can log to that run by just invoking direct APIs on the mlflow package.
  • step launchers

Test Plan: bk

Reviewers: alangenfeld, cdecarolis

Reviewed By: cdecarolis

Differential Revision: https://dagster.phacility.com/D8356

Details

Provenance
sandyryzaAuthored on Jun 11 2021, 11:26 PM
Reviewer
cdecarolis
Differential Revision
D8356: don't require context arg when solid has required resources
Parents
R1:213ae6d7e406: [dagit] Crag: Flattened left nav jobs
Branches
Unknown
Tags
Unknown