https://dagster.io/ logo
Title
v

Vinnie

11/30/2022, 8:43 AM
Are there plans to expose
dagster._check
as an “official” top-level module? After I delved into the source code a couple months ago, I found myself importing it into some of my projects, but it still leaves a sour taste in my mouth to import an API that’s not made public.
c

chris

12/01/2022, 12:02 AM
There definitely aren't plans to do so, but I don't think it's necessarily crazy to. Might be worth opening a discussion.
A counterpoint is that eventually we want to use some sort of annotation-driven runtime type checker instead of having check everywhere, but not sure how feasible that is.
in any case, check is so isolated from the rest of the dagster module that keeping methods around is of little to no cost