dagster-io/dagster

Some arguments are not working in assetspec

Ouverte

#31 221 ouverte le 18 juil. 2025

 (8 commentaires) (1 réaction) (0 personne assignée)Python (1 174 forks)batch import
hacktoberfesttype: bug

Métriques du dépôt

Stars
 (9 441 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur