Skip to content

Commit f063db0

Browse files
committed
Move Response from vws.exceptions.response to vws.types.
1 parent 2cdfc2f commit f063db0

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ Changelog
44
Next
55
----
66

7-
2024.09.03.1
8-
------------
7+
* Move ``Response`` from ``vws.exceptions.response`` to ``vws.types``.
98

109
2024.09.03
1110
------------

src/vws/exceptions/base_exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from beartype import beartype
77

8-
from .response import Response
8+
from vws.types import Response
99

1010

1111
@beartype

src/vws/exceptions/custom_exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from beartype import beartype
88

9-
from .response import Response
9+
from vws.types import Response
1010

1111

1212
@beartype

src/vws/query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
RequestEntityTooLargeError,
2626
ServerError,
2727
)
28-
from vws.exceptions.response import Response
2928
from vws.include_target_data import CloudRecoIncludeTargetData
3029
from vws.reports import QueryResult, TargetData
30+
from vws.types import Response
3131

3232
_ImageType = io.BytesIO | BinaryIO
3333

src/vws/exceptions/response.py renamed to src/vws/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Responses for exceptions."""
1+
"""Responses for requests to VWS and VWQ."""
22

33
from dataclasses import dataclass
44

src/vws/vws.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@
4646
TargetStatuses,
4747
TargetSummaryReport,
4848
)
49-
50-
from .exceptions.response import Response
49+
from vws.types import Response
5150

5251
_ImageType = io.BytesIO | BinaryIO
5352

0 commit comments

Comments
 (0)