From 39cd6d90a4b2d790e71e759405f08a4ad03f3d78 Mon Sep 17 00:00:00 2001 From: Dustin Bleile Date: Mon, 15 Jul 2024 10:27:29 -0700 Subject: [PATCH] linting - import urllib3 directly, instead of through requests, to get typing hints. --- pori_python/graphkb/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pori_python/graphkb/util.py b/pori_python/graphkb/util.py index 5e46a7a..e7e6123 100644 --- a/pori_python/graphkb/util.py +++ b/pori_python/graphkb/util.py @@ -1,6 +1,5 @@ import requests from requests.adapters import HTTPAdapter -from requests.packages.urllib3.util.retry import Retry import hashlib import json @@ -9,6 +8,7 @@ import time from datetime import datetime from typing import Any, Dict, Iterable, List, Optional, Union, cast +from urllib3.util.retry import Retry from .constants import DEFAULT_LIMIT, DEFAULT_URL, TYPES_TO_NOTATION, AA_3to1_MAPPING from .types import OntologyTerm, ParsedVariant, PositionalVariant, Record