Skip to content

Commit 08caf8d

Browse files
schloerketdstein
andcommitted
Clean up imports
Co-Authored-By: Taylor Steinberg <[email protected]>
1 parent 2210622 commit 08caf8d

File tree

5 files changed

+8
-13
lines changed

5 files changed

+8
-13
lines changed

src/posit/connect/client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
from requests import Response, Session
88

9-
from posit.connect.system import System
10-
from posit.connect.tags import Tags
11-
129
from . import hooks, me
1310
from .auth import Auth
1411
from .config import Config
@@ -19,6 +16,8 @@
1916
from .oauth import OAuth
2017
from .packages import Packages
2118
from .resources import ResourceParameters
19+
from .system import System
20+
from .tags import Tags
2221
from .tasks import Tasks
2322
from .users import User, Users
2423
from .vanities import Vanities

src/posit/connect/groups.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
if TYPE_CHECKING:
1111
import requests
1212

13-
from posit.connect.context import Context
14-
13+
from .context import Context
1514
from .users import User
1615

1716

src/posit/connect/packages.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55

66
from typing_extensions import NotRequired, Required, Unpack
77

8-
from posit.connect.context import requires
9-
from posit.connect.errors import ClientError
10-
from posit.connect.paginator import Paginator
11-
8+
from .context import requires
9+
from .errors import ClientError
10+
from .paginator import Paginator
1211
from .resources import Active, ActiveFinderMethods, ActiveSequence
1312

1413

src/posit/connect/system.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
from .resources import Active
1111

1212
if TYPE_CHECKING:
13-
from posit.connect.context import Context
14-
13+
from .context import Context
1514
from .tasks import Task
1615

1716

src/posit/connect/users.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
from .resources import Resource, Resources
1313

1414
if TYPE_CHECKING:
15-
from posit.connect.context import Context
16-
15+
from .context import Context
1716
from .groups import Group
1817

1918

0 commit comments

Comments
 (0)