dagster-io/dagster

Some arguments are not working in assetspec

Open

#31,221 opened on Jul 18, 2025

 (8 comments) (1 reaction) (0 assignees)Python (1,174 forks)batch import
hacktoberfesttype: bug

Repository metrics

Stars
 (9,441 stars)
PR merge metrics
 (Avg merge 51d 21h) (8 merged PRs in 30d)

Description

What's the issue?

I would like to represent external assets on lineage with AssetSpec, but the description and kinds parameters do not seem to be reflected.

What did you expect to happen?

  • Referencing error when drawing lineage or
  • Variables are not stored correctly (I have not investigated the code.)

How to reproduce?

Here is "defs" sample code, paste and boot "dagster dev"

from dagster import AssetExecutionContext, AssetSpec, Definitions, asset


@asset(
    deps=[AssetSpec(key="a_inferred", description="description1", kinds={"sql"})],
    description="description2",
    kinds={"s3"}
)
def asset_a(context: AssetExecutionContext):
    return None


defs = Definitions(assets=[asset_a])

Dagster version

1.11.2

Deployment type

Local

Deployment details

No response

Additional information

No response

Message from the maintainers

Impacted by this issue? Give it a 👍! We factor engagement into prioritization.

Contributor guide