dagster-io/dagster

Some arguments are not working in assetspec

Aperta

#31.221 aperta il 18 lug 2025

 (8 commenti) (1 reazione) (0 assegnatari)Python (1174 fork)batch import
hacktoberfesttype: bug

Metriche repository

Star
 (9441 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor