Skip to content

Commit 91d7fff

Browse files
committed
Revert "Stop shadowing Python builtin "types""
This reverts commit e8b9c02.
1 parent e8b9c02 commit 91d7fff

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

CHANGELOG.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ Changelog
44
Next
55
----
66

7-
* Move ``Response`` from ``vws.response`` to ``vws.response``.
7+
2024.09.21
8+
------------
9+
10+
2024.09.04.1
11+
------------
812

913
2024.09.04
1014
------------
1115

12-
* Move ``Response`` from ``vws.exceptions.response`` to ``vws.response``.
16+
* Move ``Response`` from ``vws.exceptions.response`` to ``vws.types``.
1317
* Add ``raw`` field to ``Response``.
1418

1519
2024.09.03

docs/source/api-reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ API Reference
1313
:undoc-members:
1414
:members:
1515

16-
.. automodule:: vws.response
16+
.. automodule:: vws.types
1717
:undoc-members:
1818
:members:

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 vws.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 vws.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
@@ -27,7 +27,7 @@
2727
)
2828
from vws.include_target_data import CloudRecoIncludeTargetData
2929
from vws.reports import QueryResult, TargetData
30-
from vws.response import Response
30+
from vws.types import Response
3131

3232
_ImageType = io.BytesIO | BinaryIO
3333

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
TargetStatuses,
4747
TargetSummaryReport,
4848
)
49-
from vws.response import Response
49+
from vws.types import Response
5050

5151
_ImageType = io.BytesIO | BinaryIO
5252

0 commit comments

Comments
 (0)