The error is this:
File "\git\cbm+\d4- input_defs.append(input_def.combine_with_inferred(inferred_props[
input_def.name]))
File "\git\cbm+\d4-orchestrator\.venv\lib\site-packages\dagster\_core\definitions\input.py", line 300, in combine_with_inferred
dagster_type = _checked_inferred_type(inferred)
File "\git\cbm+\d4-orchestrator\.venv\lib\site-packages\dagster\_core\definitions\input.py", line 348, in _checked_inferred_type
raise DagsterInvalidDefinitionError(
The above exception was caused by the following exception:
dagster._core.errors.DagsterInvalidDefinitionError: Invalid type: dagster_type must be an instance of DagsterType or a Python type: got typing.Union[pyarrow._dataset.Dataset, typing.Dict[str, pyarrow._dataset.Dataset]].
Stack Trace:
File "\git\cbm+\d4-orchestrator\.venv\lib\site-packages\dagster\_core\definitions\input.py", line 345, in _checked_inferred_type
resolved_type = resolve_dagster_type(inferred.annotation)
File "\git\cbm+\d4-orchestrator\.venv\lib\site-packages\dagster\_core\types\dagster_type.py", line 910, in resolve_dagster_type
raise DagsterInvalidDefinitionError(
orchestrator\.venv\lib\site-packages\dagster\_core\definitions\decorators\op_decorator.py", line 438, in resolve_checked_op_fn_inputs
Which, to me, is strange since load_input() for upath_io_manager.py returns Union[Any, Dict[str, Any]] which is incompatible with the code in typing_api.py.
@sean