Skip to content

Commit e9cb9e8

Browse files
committed
minor cleanup after rebase
1 parent 58e8edd commit e9cb9e8

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

atlassian/confluence.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
import re
77
import time
88

9+
import requests
910
from bs4 import BeautifulSoup
1011
from deprecated import deprecated
11-
import requests
1212
from requests import HTTPError
1313

1414
from atlassian import utils
15+
1516
from .errors import (
1617
ApiConflictError,
1718
ApiError,

atlassian/rest_client.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# coding=utf-8
22
import logging
33
import random
4+
import time
5+
from http.cookiejar import CookieJar
46
from json import dumps
57
from typing import (
68
List,
@@ -12,6 +14,7 @@
1214
)
1315

1416
import requests
17+
import urllib3
1518
from requests.adapters import HTTPAdapter
1619
from typing_extensions import Literal
1720

@@ -21,13 +24,7 @@
2124
from oauthlib.oauth1.rfc5849 import SIGNATURE_RSA_SHA512 as SIGNATURE_RSA
2225
except ImportError:
2326
from oauthlib.oauth1 import SIGNATURE_RSA
24-
25-
import time
26-
27-
import urllib3
28-
from http.cookiejar import CookieJar
29-
30-
import urllib3
27+
3128
from requests import HTTPError, Response, Session
3229
from requests_oauthlib import OAuth1, OAuth2
3330
from six.moves.urllib.parse import urlencode

atlassian/typehints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from typing import Union
2+
23
from typing_extensions import TypeAlias
34

45
T_id: TypeAlias = Union[str, int]

0 commit comments

Comments
 (0)