parent
d88ad607c9
commit
287d9a6c2d
1 changed files with 4 additions and 1 deletions
|
@ -14,9 +14,12 @@ from urllib.parse import urlparse
|
|||
import argcomplete
|
||||
import requests
|
||||
import yaml
|
||||
from requests.exceptions import JSONDecodeError as RequestsJSONDecodeError
|
||||
from requests.models import HTTPBasicAuth
|
||||
from simplejson.errors import JSONDecodeError as SimplejsonJSONDecodeError
|
||||
try:
|
||||
from requests.exceptions import JSONDecodeError as RequestsJSONDecodeError
|
||||
except ImportError:
|
||||
from requests.exceptions import InvalidJSONError as RequestsJSONDecodeError
|
||||
|
||||
|
||||
# Helper functions
|
||||
|
|
Loading…
Add table
Reference in a new issue