Channels
dagster-de
integration-airbyte
topic-async-execution
local-japan
dagster-cube
community-freelance
dagster-wandb
dagster-feedback
community-machine-learning
integration-bigquery
dagster-university
ask-community
dagster-dask
integration-snowflake
dagster-releases
integration-dbt
faq-read-me-before-posting
tools
feature-insights
feature-pipes
project-flexible-range-backfills
data-platform-design
community-events
dagster-serverless
dagster-noteable
introductions
integration-airflow
dagster-cloud
random
dagster-spatial
ask-ai
announcements
github-discussions
豆瓣酱帮
dagstereo
deployment-ecs
deployment-kubernetes
jobs
community-showcase
feature-asset-checks
Powered by
#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
Post