Skip to content

Commit f584008

Browse files
committed
Remove 'Self' for Py 3.10 compatibility
1 parent 65c1c20 commit f584008

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

climada/hazard/forecast.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"""
2121

2222
import logging
23-
from typing import Self
2423

2524
import numpy as np
2625

@@ -117,7 +116,7 @@ def select(
117116
reg_id=None,
118117
extent=None,
119118
reset_frequency=False,
120-
) -> Self:
119+
):
121120
"""Select entries based on the parameters and return a new instance.
122121
123122
The selection will contain the intersection of all given parameters.

0 commit comments

Comments
 (0)