Skip to content

Commit

Permalink
fix type-hint
Browse files Browse the repository at this point in the history
  • Loading branch information
thorbjoernl committed Jul 30, 2024
1 parent 9f03a3f commit 0a22c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyaerocom/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ def merge_station_data(
return merged


def _get_pandas_freq_and_offset(freq: str) -> tuple[str, pd.Timedelta]:
def _get_pandas_freq_and_offset(freq: str) -> tuple[str, pd.Timedelta | None]:
"""Helper to convert resampling info"""
if freq in TS_TYPE_TO_PANDAS_FREQ:
freq = TS_TYPE_TO_PANDAS_FREQ[freq]
Expand Down

0 comments on commit 0a22c83

Please sign in to comment.