We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c626cf3 commit 6f92586Copy full SHA for 6f92586
pytak/client_functions.py
@@ -31,6 +31,7 @@
31
import sys
32
import warnings
33
34
+from asyncio import get_running_loop
35
from configparser import ConfigParser, SectionProxy
36
from urllib.parse import ParseResult, urlparse
37
from typing import Any, Tuple, Union
@@ -47,13 +48,6 @@
47
48
49
from pytak.crypto_functions import convert_cert
50
-# DEPRECATED Python 3.6 support for asyncio get_running_loop().
51
-if sys.version_info[:2] >= (3, 7): # pragma: no cover
52
- from asyncio import get_running_loop
53
-else: # pragma: no cover
54
- warnings.warn("Using Python < 3.7, consider upgrading Python.")
55
- from asyncio import get_event_loop as get_running_loop
56
-
57
58
def get_cot_url(config) -> ParseResult:
59
"""Verify and parse a raw COT_URL."""
0 commit comments