https://dagster.io/ logo
#ask-community
Title
# ask-community
j

Jesse Myers

03/14/2023, 10:49 PM
hi folks, I'm having trouble passing a context into an asset that also accepts other assets as an input, any ideas on why that is? I get this error
dagster._core.errors.DagsterInvalidDefinitionError: "context" is not a valid name in Dagster. It conflicts with a Dagster or python reserved keyword.
dagster bot responded by community 1
d

Danny Steffy

03/14/2023, 11:01 PM
I'm pretty sure context has to be the first argument defined in order for dagster to accept it as a valid argument. Otherwise it assumes you're trying to pass in a different argument named
context
1
👍 1
j

Jesse Myers

03/14/2023, 11:09 PM
that did it
2 Views