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
w
Will Gunadi
04/04/2022, 8:47 PM
Does anyone have experience spawning threads inside an Op? Will this work, or will Dagster throw a fit?
j
johann
04/04/2022, 9:22 PM
It should work, thre’s a few ways to shoot your own foot though. The op context object is not thread safe
w
Will Gunadi
04/05/2022, 1:47 PM
Yes, I figured that the context object to be not thread-safe. I'm looking at greenlet threads, do you think that would work?
@johann
j
johann
04/05/2022, 2:25 PM
They should, yes
2 Views
Post