Skip to content

Commit 5261768

Browse files
committed
remove a conditional import no longer needed
1 parent dee3007 commit 5261768

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

intake_esgf/catalog.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
"""The primary object in intake-esgf."""
22

33
import re
4-
import sys
54
import time
65
import warnings
76
from collections.abc import Callable
87
from functools import partial
98
from multiprocessing.pool import ThreadPool
109
from pathlib import Path
11-
from typing import Any, cast
12-
13-
# Self isn't available in typing in 3.10
14-
if sys.version_info[1] == 10:
15-
from typing import Literal
16-
17-
from typing_extensions import Self
18-
else:
19-
from typing import Literal, Self
10+
from typing import Any, Literal, Self, cast
2011

2112
import pandas as pd
2213
import requests

0 commit comments

Comments
 (0)