Skip to content

Commit f48c480

Browse files
committed
[core-api][experimental] InputDefinition
1 parent d009560 commit f48c480

File tree

1 file changed

+2
-3
lines changed
  • python_modules/dagster/dagster/_core/definitions

1 file changed

+2
-3
lines changed

python_modules/dagster/dagster/_core/definitions/input.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
)
1515

1616
import dagster._check as check
17-
from dagster._annotations import PublicAttr, deprecated_param, experimental_param
17+
from dagster._annotations import PublicAttr, deprecated_param, superseded
1818
from dagster._core.definitions.events import AssetKey
1919
from dagster._core.definitions.inference import InferredInputProps
2020
from dagster._core.definitions.metadata import (
@@ -59,8 +59,7 @@ def _check_default_value(input_name: str, dagster_type: DagsterType, default_val
5959
return default_value # type: ignore # (pyright bug)
6060

6161

62-
@experimental_param(param="asset_key")
63-
@experimental_param(param="asset_partitions")
62+
@superseded(additional_warn_text="Use `In` instead", emit_runtime_warning=False)
6463
class InputDefinition:
6564
"""Defines an argument to an op's compute function.
6665

0 commit comments

Comments
 (0)