types-boto3-lite 1.35.99__py3-none-any.whl → 1.36.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
boto3-stubs/__init__.pyi CHANGED
@@ -5,11 +5,10 @@ Copyright 2024 Vlad Emelianov
5
5
  """
6
6
 
7
7
  import logging
8
+ from typing import Any
8
9
 
9
10
  from boto3 import session as session
10
- from boto3.resources.base import ServiceResource
11
11
  from boto3.session import Session as Session
12
- from botocore.client import BaseClient
13
12
  from botocore.config import Config
14
13
  from botocore.session import Session as BotocoreSession
15
14
 
@@ -47,7 +46,7 @@ def client(
47
46
  aws_secret_access_key: str | None = ...,
48
47
  aws_session_token: str | None = ...,
49
48
  config: Config | None = ...,
50
- ) -> BaseClient: ...
49
+ ) -> Any: ...
51
50
  def resource(
52
51
  service_name: str,
53
52
  region_name: str | None = ...,
@@ -59,4 +58,4 @@ def resource(
59
58
  aws_secret_access_key: str | None = ...,
60
59
  aws_session_token: str | None = ...,
61
60
  config: Config | None = ...,
62
- ) -> ServiceResource: ...
61
+ ) -> Any: ...
boto3-stubs/session.pyi CHANGED
@@ -4,11 +4,11 @@ Type annotations for boto3.session module.
4
4
  Copyright 2024 Vlad Emelianov
5
5
  """
6
6
 
7
+ from typing import Any
8
+
7
9
  from boto3.exceptions import ResourceNotExistsError as ResourceNotExistsError
8
10
  from boto3.exceptions import UnknownAPIVersionError as UnknownAPIVersionError
9
- from boto3.resources.base import ServiceResource
10
11
  from boto3.resources.factory import ResourceFactory
11
- from botocore.client import BaseClient
12
12
  from botocore.config import Config
13
13
  from botocore.credentials import Credentials
14
14
  from botocore.exceptions import DataNotFoundError as DataNotFoundError
@@ -62,7 +62,7 @@ class Session:
62
62
  aws_secret_access_key: str | None = ...,
63
63
  aws_session_token: str | None = ...,
64
64
  config: Config | None = ...,
65
- ) -> BaseClient: ...
65
+ ) -> Any: ...
66
66
  def resource(
67
67
  self,
68
68
  service_name: str,
@@ -75,4 +75,4 @@ class Session:
75
75
  aws_secret_access_key: str | None = ...,
76
76
  aws_session_token: str | None = ...,
77
77
  config: Config | None = ...,
78
- ) -> ServiceResource: ...
78
+ ) -> Any: ...