Skip to content

Commit

Permalink
Update aio static stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Apr 25, 2024
1 parent daf82ed commit fcd52e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mypy_boto3_builder/stubs_static/aiobotocore/config.pyi
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
from typing import Any, TypeVar
from typing import Any, Type, TypeVar

from aiobotocore.httpsession import AIOHTTPSession
from botocore.config import Config

_AioConfig = TypeVar("_AioConfig", bound="AioConfig")

class AioConfig(Config):
def __init__(self, connector_args: Any = ..., **kwargs: Any) -> None: ...
def __init__(
self, connector_args: Any = ..., http_session_cls: Type[AIOHTTPSession] = ..., **kwargs: Any
) -> None: ...
def merge(self: _AioConfig, other_config: Config) -> _AioConfig: ...
2 changes: 2 additions & 0 deletions mypy_boto3_builder/stubs_static/aiobotocore/endpoint.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ from botocore.endpoint import Endpoint, EndpointCreator
from botocore.model import OperationModel, ServiceModel
from requests.models import Request, Response

DEFAULT_HTTP_SESSION_CLS: Type[AIOHTTPSession] = ...

async def convert_to_response_dict(
http_response: Response, operation_model: OperationModel
) -> Dict[str, Any]: ...
Expand Down

0 comments on commit fcd52e7

Please sign in to comment.