diff --git a/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/dlt/resource.py b/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/dlt/resource.py index f6f4b07055b80..2873adb6a08a1 100644 --- a/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/dlt/resource.py +++ b/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/dlt/resource.py @@ -32,9 +32,9 @@ def _cast_load_info_metadata(self, mapping: Mapping[Any, Any]) -> Mapping[Any, A mapping with pendulum DateTime and Timezone values casted to strings """ - from pendulum import DateTime, Timezone + from pendulum import DateTime, Timezone # type: ignore - def _recursive_cast(value): + def _recursive_cast(value: Any): if isinstance(value, dict): return {k: _recursive_cast(v) for k, v in value.items()} elif isinstance(value, list):