https://dagster.io/ logo
#ask-ai
Title
# ask-ai
s

Stephen Bailey

02/07/2024, 7:10 PM
how do i specify compute_kind on a graph_asset
s

Scout

02/07/2024, 7:10 PM
As of the current documentation, there isn't a direct way to specify
compute_kind
on a
graph_asset
directly. The
compute_kind
attribute is typically associated with an op or a job, indicating the technology used to compute the asset, such as "dbt" or "spark". However, there have been discussions and issues raised in the Dagster community regarding the ability to specify
compute_kind
for
graph_asset
and
graph_multi_asset
. For instance, there's an open issue discussing the addition of
compute_kind
to
AssetOut
for multi-assets, which suggests that there is interest in having more granular control over compute kinds at the asset level. In the meantime, if you need to indicate the compute technology for a
graph_asset
, you might consider using tags as a workaround. Tags can be added to ops within the graph, and while they won't function exactly like
compute_kind
, they can serve as metadata to convey similar information. If you're looking for a way to specify
compute_kind
for
graph_asset
due to a specific use case or requirement, I would recommend following the discussions and issues on the Dagster GitHub repository to stay updated on any developments in this area. Additionally, if this is a critical feature for your workflow, you might consider contributing to the discussion or even to the codebase to help implement this functionality.
5 Views