Noah K
01/30/2021, 11:05 AMNoah K
01/30/2021, 11:05 AMKlaus Stadler
01/30/2021, 11:07 AMNoah K
01/30/2021, 11:09 AMNoah K
01/30/2021, 11:09 AMNoah K
01/30/2021, 11:09 AMNoah K
01/30/2021, 11:10 AMNoah K
01/30/2021, 11:10 AMKlaus Stadler
01/30/2021, 11:10 AMNoah K
01/30/2021, 11:12 AMKlaus Stadler
01/30/2021, 11:13 AMNoah K
01/30/2021, 11:15 AMNoah K
01/30/2021, 11:16 AMNoah K
01/30/2021, 11:16 AMNoah K
01/30/2021, 11:16 AMNoah K
01/30/2021, 11:17 AMKlaus Stadler
01/30/2021, 11:18 AMPrratek Ramchandani
01/30/2021, 11:29 PMhandle_output
method would take an iterator output from a solid, iterate through and write each line to a file (JSON in this case), and then upload that to GCS. However, the first “write to JSON file” bit seems like could conceptually be it’s own IO manager. Does it make sense to just have my custom IO manager do both those steps when handling output? Is there a recommended “Dagstery” way to split up these two tasks?Thomas
02/01/2021, 10:00 AMmrdavidlaing
02/01/2021, 11:17 AMAdrian
02/01/2021, 7:57 PMInit Containers:
check-db-ready:
Container ID: <containerd://957d69a6e0ee4ebf1bb66e17dec34a75b1e35ba13fcc374d210b56b2576df546>
Image: postgres:9.6.16
Image ID: <http://docker.io/library/postgres@sha256:d6a6badb2b5b22de5e135490a217522cecc2ae90fe35b33290615827569310a1|docker.io/library/postgres@sha256:d6a6badb2b5b22de5e135490a217522cecc2ae90fe35b33290615827569310a1>
Port: <none>
Host Port: <none>
Command:
sh
-c
until pg_isready -h "" -p 5432; do echo waiting for database; sleep 2; done;
State: Running
Started: Mon, 01 Feb 2021 14:53:55 -0500
Ready: False
Restart Count: 0
Environment: <none>
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from dagster-token-6xzxh (ro)
antonl
02/01/2021, 8:27 PMDynamicOutput
s but ran into an issue. Is there any way to “fan-in” the dynamic outputs? I’m interested in a pattern in which I create a variable number of outputs based on a config and then reduce them with a single solid. A workaround is to lift all solids to work with lists, but that’s not as nice.Tobias Macey
02/02/2021, 2:26 AMDaniel Michaelis
02/02/2021, 12:10 PMJason
02/02/2021, 2:02 PMdagster_slack
library.
My company is still very much on webhooks
and there's a lot of hoops to jump through to get bots approved. Is there any undocumented override feature in the dagster_slack
lib for webhooks? Or perhaps an older slack implementation I can strip off and implement myself?Ryan
02/02/2021, 3:29 PMdagster_type_loader
to map a string value from the config to a domain Enum, using the basic MyEnum[choice_name]
. I was expecting that any errors thrown from type loader functions (in this case a KeyError
whenever an invalid enum name is specified) would result in a "Type check failed" event, but I see that the exception just propagates and breaks the pipeline at that point.
Is there anything I can do to have invalid inputs to type loader functions handled slightly more gracefully within the framework? Something like:
@dagster_type_loader(str)
def load_my_enum(_, choice_name: str):
try:
return MyEnum[choice_name]
except KeyError as ex:
raise DagsterSpeciallyHandledError()
I tried with DagsterInvalidConfigError
but it didn't seem ergonomic to use from this context.Kaushik Visvanathan
02/02/2021, 3:43 PMexecute_pipeline
function - when using the solid_selection
parameter, does the run config need to be modified to only include the solids we want to reexecute? Or can we reuse the same run config we'd use to run the pipeline normally?Yichen
02/02/2021, 9:28 PMMakoto
02/02/2021, 10:06 PMantonl
02/03/2021, 3:14 AMSolidOutputHandle
’s from a composite solid, but you can make an identity lambda_solid
and return the output of that.