Skip to content

Commit

Permalink
remove confusing aiobotocore.session.Session symbol
Browse files Browse the repository at this point in the history
BREAKING-CHANGE: replace any use of `aiobotocore.session.Session` by `botocore.session.Session`
  • Loading branch information
jakob-keller committed Oct 21, 2023
1 parent 9d92ef2 commit 9168bb1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
5 changes: 3 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
Changes
-------

2.7.1 (2023-10-19)
2.8.0 (2023-10-21)
^^^^^^^^^^^^^^^^^^
* added AioStubber that return AioAWSResponse()
* add AioStubber that returns AioAWSResponse()
* remove confusing `aiobotocore.session.Session` symbol

2.7.0 (2023-10-17)
^^^^^^^^^^^^^^^^^^
Expand Down
12 changes: 4 additions & 8 deletions aiobotocore/session.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
from botocore import UNSIGNED, translate
from botocore.exceptions import PartialCredentialsError
from botocore.session import (
EVENT_ALIASES,
ServiceModel,
Session,
UnknownServiceError,
copy,
)
from botocore.session import EVENT_ALIASES, ServiceModel
from botocore.session import Session as _SyncSession
from botocore.session import UnknownServiceError, copy

from . import retryhandler
from .client import AioBaseClient, AioClientCreator
Expand All @@ -31,7 +27,7 @@ async def __aexit__(self, exc_type, exc_val, exc_tb):
await self._client.__aexit__(exc_type, exc_val, exc_tb)


class AioSession(Session):
class AioSession(_SyncSession):

# noinspection PyMissingConstructor
def __init__(
Expand Down

0 comments on commit 9168bb1

Please sign in to comment.