hello, I am moving to Dagster 1.0.4 from 0.15.7 an...
# ask-community
g
hello, I am moving to Dagster 1.0.4 from 0.15.7 and faced some submodule importing. doing this way. what is the way of importing those module on 1.x ?
Copy code
from dagster import (
    op,
    Array,
    Bool,
    DagsterUserCodeExecutionError,
    Field,
    InputDefinition
)
🤖 1
❤️ 2
c
InputDefinition was removed in 1.0 - if you're using it with an
op
it should be replaced with an
In
. For example:
Copy code
@op(input_defs=[InputDefinition("my_input", dagster_type=Int)])
becomes
Copy code
@op(ins={"my_input": In(int)})
g
Thank you!!