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

Charlie Bini

01/12/2023, 4:44 PM
Is there a way to get resources by name from an
OpExecutionContext
? i.e. instead of
context.resources.foo
, can I use something like
context.resources.get("foo")
?
🤖 1
nevermind! it's a namedtuple, so you can do this via
getattr
s

sandy

01/12/2023, 5:29 PM
glad you figured it out - that's what I was going to suggest
2 Views