Skip to content

Commit

Permalink
make pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
cmpadden committed Mar 29, 2024
1 parent e26fe77 commit 8067c7f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 8067c7f

Please sign in to comment.