Is there a way to get resources by name from an `O...
# ask-community
c
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
glad you figured it out - that's what I was going to suggest