Skip to content

Commit

Permalink
Pull static files
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Jan 17, 2025
1 parent 8697a60 commit 8d532dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions mypy_boto3_builder/stubs_static/types-boto3/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ Copyright 2024 Vlad Emelianov
"""

import logging
from typing import Any

from boto3 import session as session
from boto3.resources.base import ServiceResource
from boto3.session import Session as Session
from botocore.client import BaseClient
from botocore.config import Config
from botocore.session import Session as BotocoreSession

Expand Down Expand Up @@ -47,7 +46,7 @@ def client(
aws_secret_access_key: str | None = ...,
aws_session_token: str | None = ...,
config: Config | None = ...,
) -> BaseClient: ...
) -> Any: ...
def resource(
service_name: str,
region_name: str | None = ...,
Expand All @@ -59,4 +58,4 @@ def resource(
aws_secret_access_key: str | None = ...,
aws_session_token: str | None = ...,
config: Config | None = ...,
) -> ServiceResource: ...
) -> Any: ...
8 changes: 4 additions & 4 deletions mypy_boto3_builder/stubs_static/types-boto3/session.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Type annotations for boto3.session module.
Copyright 2024 Vlad Emelianov
"""

from typing import Any

from boto3.exceptions import ResourceNotExistsError as ResourceNotExistsError
from boto3.exceptions import UnknownAPIVersionError as UnknownAPIVersionError
from boto3.resources.base import ServiceResource
from boto3.resources.factory import ResourceFactory
from botocore.client import BaseClient
from botocore.config import Config
from botocore.credentials import Credentials
from botocore.exceptions import DataNotFoundError as DataNotFoundError
Expand Down Expand Up @@ -62,7 +62,7 @@ class Session:
aws_secret_access_key: str | None = ...,
aws_session_token: str | None = ...,
config: Config | None = ...,
) -> BaseClient: ...
) -> Any: ...
def resource(
self,
service_name: str,
Expand All @@ -75,4 +75,4 @@ class Session:
aws_secret_access_key: str | None = ...,
aws_session_token: str | None = ...,
config: Config | None = ...,
) -> ServiceResource: ...
) -> Any: ...

0 comments on commit 8d532dc

Please sign in to comment.