Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove confusing aiobotocore.session.Session symbol #1047

Merged
merged 1 commit into from
Oct 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-24)
^^^^^^^^^^^^^^^^^^
* added AioStubber that return AioAWSResponse()
* add AioStubber that returns AioAWSResponse()
* remove confusing `aiobotocore.session.Session` symbol

2.7.0 (2023-10-17)
^^^^^^^^^^^^^^^^^^
2 changes: 1 addition & 1 deletion aiobotocore/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.7.1'
__version__ = '2.8.0'
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
@@ -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__(
self,