mypy-boto3-dynamodb 1.35.54__py3-none-any.whl → 1.35.74__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.
@@ -10,6 +10,8 @@ Usage::
10
10
 
11
11
  data: ArchivalSummaryTypeDef = ...
12
12
  ```
13
+
14
+ Copyright 2024 Vlad Emelianov
13
15
  """
14
16
 
15
17
  import sys
@@ -43,6 +45,7 @@ from .literals import (
43
45
  InputCompressionTypeType,
44
46
  InputFormatType,
45
47
  KeyTypeType,
48
+ MultiRegionConsistencyType,
46
49
  PointInTimeRecoveryStatusType,
47
50
  ProjectionTypeType,
48
51
  ReplicaStatusType,
@@ -190,6 +193,7 @@ __all__ = (
190
193
  "GlobalSecondaryIndexTypeDef",
191
194
  "GlobalSecondaryIndexUnionTypeDef",
192
195
  "GlobalSecondaryIndexUpdateTypeDef",
196
+ "GlobalSecondaryIndexWarmThroughputDescriptionTypeDef",
193
197
  "GlobalTableDescriptionTypeDef",
194
198
  "GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef",
195
199
  "GlobalTableTypeDef",
@@ -303,6 +307,7 @@ __all__ = (
303
307
  "TableCreationParametersOutputTypeDef",
304
308
  "TableCreationParametersTypeDef",
305
309
  "TableDescriptionTypeDef",
310
+ "TableWarmThroughputDescriptionTypeDef",
306
311
  "TagResourceInputRequestTypeDef",
307
312
  "TagTypeDef",
308
313
  "TimeToLiveDescriptionTypeDef",
@@ -342,6 +347,7 @@ __all__ = (
342
347
  "UpdateTimeToLiveOutputTypeDef",
343
348
  "UpdateTypeDef",
344
349
  "WaiterConfigTypeDef",
350
+ "WarmThroughputTypeDef",
345
351
  "WriteRequestOutputTypeDef",
346
352
  "WriteRequestServiceResourceOutputTypeDef",
347
353
  "WriteRequestServiceResourceTypeDef",
@@ -465,6 +471,10 @@ class ProvisionedThroughputTypeDef(TypedDict):
465
471
  ReadCapacityUnits: int
466
472
  WriteCapacityUnits: int
467
473
 
474
+ class WarmThroughputTypeDef(TypedDict):
475
+ ReadUnitsPerSecond: NotRequired[int]
476
+ WriteUnitsPerSecond: NotRequired[int]
477
+
468
478
  ReplicaTypeDef = TypedDict(
469
479
  "ReplicaTypeDef",
470
480
  {
@@ -605,6 +615,11 @@ TimestampTypeDef = Union[datetime, str]
605
615
  class GetResourcePolicyInputRequestTypeDef(TypedDict):
606
616
  ResourceArn: str
607
617
 
618
+ class GlobalSecondaryIndexWarmThroughputDescriptionTypeDef(TypedDict):
619
+ ReadUnitsPerSecond: NotRequired[int]
620
+ WriteUnitsPerSecond: NotRequired[int]
621
+ Status: NotRequired[IndexStatusType]
622
+
608
623
  class ProjectionOutputTypeDef(TypedDict):
609
624
  ProjectionType: NotRequired[ProjectionTypeType]
610
625
  NonKeyAttributes: NotRequired[List[str]]
@@ -675,6 +690,11 @@ class TableClassSummaryTypeDef(TypedDict):
675
690
  TableClass: NotRequired[TableClassType]
676
691
  LastUpdateDateTime: NotRequired[datetime]
677
692
 
693
+ class TableWarmThroughputDescriptionTypeDef(TypedDict):
694
+ ReadUnitsPerSecond: NotRequired[int]
695
+ WriteUnitsPerSecond: NotRequired[int]
696
+ Status: NotRequired[TableStatusType]
697
+
678
698
  class RestoreSummaryTypeDef(TypedDict):
679
699
  RestoreDateTime: datetime
680
700
  RestoreInProgress: bool
@@ -894,6 +914,7 @@ class UpdateGlobalSecondaryIndexActionTypeDef(TypedDict):
894
914
  IndexName: str
895
915
  ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
896
916
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
917
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
897
918
 
898
919
  class CreateGlobalTableInputRequestTypeDef(TypedDict):
899
920
  GlobalTableName: str
@@ -903,11 +924,6 @@ class GlobalTableTypeDef(TypedDict):
903
924
  GlobalTableName: NotRequired[str]
904
925
  ReplicationGroup: NotRequired[List[ReplicaTypeDef]]
905
926
 
906
- class ReplicaGlobalSecondaryIndexDescriptionTypeDef(TypedDict):
907
- IndexName: NotRequired[str]
908
- ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputOverrideTypeDef]
909
- OnDemandThroughputOverride: NotRequired[OnDemandThroughputOverrideTypeDef]
910
-
911
927
  class ReplicaGlobalSecondaryIndexTypeDef(TypedDict):
912
928
  IndexName: str
913
929
  ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputOverrideTypeDef]
@@ -1014,6 +1030,12 @@ class ListBackupsInputRequestTypeDef(TypedDict):
1014
1030
  ExclusiveStartBackupArn: NotRequired[str]
1015
1031
  BackupType: NotRequired[BackupTypeFilterType]
1016
1032
 
1033
+ class ReplicaGlobalSecondaryIndexDescriptionTypeDef(TypedDict):
1034
+ IndexName: NotRequired[str]
1035
+ ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputOverrideTypeDef]
1036
+ OnDemandThroughputOverride: NotRequired[OnDemandThroughputOverrideTypeDef]
1037
+ WarmThroughput: NotRequired[GlobalSecondaryIndexWarmThroughputDescriptionTypeDef]
1038
+
1017
1039
  class GlobalSecondaryIndexInfoTypeDef(TypedDict):
1018
1040
  IndexName: NotRequired[str]
1019
1041
  KeySchema: NotRequired[List[KeySchemaElementTypeDef]]
@@ -1027,6 +1049,7 @@ class GlobalSecondaryIndexOutputTypeDef(TypedDict):
1027
1049
  Projection: ProjectionOutputTypeDef
1028
1050
  ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1029
1051
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1052
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
1030
1053
 
1031
1054
  class LocalSecondaryIndexDescriptionTypeDef(TypedDict):
1032
1055
  IndexName: NotRequired[str]
@@ -1052,6 +1075,7 @@ class GlobalSecondaryIndexDescriptionTypeDef(TypedDict):
1052
1075
  ItemCount: NotRequired[int]
1053
1076
  IndexArn: NotRequired[str]
1054
1077
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1078
+ WarmThroughput: NotRequired[GlobalSecondaryIndexWarmThroughputDescriptionTypeDef]
1055
1079
 
1056
1080
  class GlobalSecondaryIndexTypeDef(TypedDict):
1057
1081
  IndexName: str
@@ -1059,6 +1083,7 @@ class GlobalSecondaryIndexTypeDef(TypedDict):
1059
1083
  Projection: ProjectionTypeDef
1060
1084
  ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1061
1085
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1086
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
1062
1087
 
1063
1088
  ProjectionUnionTypeDef = Union[ProjectionTypeDef, ProjectionOutputTypeDef]
1064
1089
 
@@ -1442,21 +1467,6 @@ class ListGlobalTablesOutputTypeDef(TypedDict):
1442
1467
  LastEvaluatedGlobalTableName: str
1443
1468
  ResponseMetadata: ResponseMetadataTypeDef
1444
1469
 
1445
- ReplicaDescriptionTypeDef = TypedDict(
1446
- "ReplicaDescriptionTypeDef",
1447
- {
1448
- "RegionName": NotRequired[str],
1449
- "ReplicaStatus": NotRequired[ReplicaStatusType],
1450
- "ReplicaStatusDescription": NotRequired[str],
1451
- "ReplicaStatusPercentProgress": NotRequired[str],
1452
- "KMSMasterKeyId": NotRequired[str],
1453
- "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputOverrideTypeDef],
1454
- "OnDemandThroughputOverride": NotRequired[OnDemandThroughputOverrideTypeDef],
1455
- "GlobalSecondaryIndexes": NotRequired[List[ReplicaGlobalSecondaryIndexDescriptionTypeDef]],
1456
- "ReplicaInaccessibleDateTime": NotRequired[datetime],
1457
- "ReplicaTableClassSummary": NotRequired[TableClassSummaryTypeDef],
1458
- },
1459
- )
1460
1470
  CreateReplicationGroupMemberActionTypeDef = TypedDict(
1461
1471
  "CreateReplicationGroupMemberActionTypeDef",
1462
1472
  {
@@ -1508,6 +1518,23 @@ class ExportTableToPointInTimeInputRequestTypeDef(TypedDict):
1508
1518
  ExportType: NotRequired[ExportTypeType]
1509
1519
  IncrementalExportSpecification: NotRequired[IncrementalExportSpecificationTypeDef]
1510
1520
 
1521
+ ReplicaDescriptionTypeDef = TypedDict(
1522
+ "ReplicaDescriptionTypeDef",
1523
+ {
1524
+ "RegionName": NotRequired[str],
1525
+ "ReplicaStatus": NotRequired[ReplicaStatusType],
1526
+ "ReplicaStatusDescription": NotRequired[str],
1527
+ "ReplicaStatusPercentProgress": NotRequired[str],
1528
+ "KMSMasterKeyId": NotRequired[str],
1529
+ "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputOverrideTypeDef],
1530
+ "OnDemandThroughputOverride": NotRequired[OnDemandThroughputOverrideTypeDef],
1531
+ "WarmThroughput": NotRequired[TableWarmThroughputDescriptionTypeDef],
1532
+ "GlobalSecondaryIndexes": NotRequired[List[ReplicaGlobalSecondaryIndexDescriptionTypeDef]],
1533
+ "ReplicaInaccessibleDateTime": NotRequired[datetime],
1534
+ "ReplicaTableClassSummary": NotRequired[TableClassSummaryTypeDef],
1535
+ },
1536
+ )
1537
+
1511
1538
  class TableCreationParametersOutputTypeDef(TypedDict):
1512
1539
  TableName: str
1513
1540
  AttributeDefinitions: List[AttributeDefinitionTypeDef]
@@ -1535,6 +1562,7 @@ class CreateGlobalSecondaryIndexActionTypeDef(TypedDict):
1535
1562
  Projection: ProjectionUnionTypeDef
1536
1563
  ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1537
1564
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1565
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
1538
1566
 
1539
1567
  class LocalSecondaryIndexTypeDef(TypedDict):
1540
1568
  IndexName: str
@@ -1740,6 +1768,11 @@ class ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef(TypedDict):
1740
1768
  ProvisionedReadCapacityUnits: NotRequired[int]
1741
1769
  ProvisionedReadCapacityAutoScalingSettingsUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef]
1742
1770
 
1771
+ class ReplicationGroupUpdateTypeDef(TypedDict):
1772
+ Create: NotRequired[CreateReplicationGroupMemberActionTypeDef]
1773
+ Update: NotRequired[UpdateReplicationGroupMemberActionTypeDef]
1774
+ Delete: NotRequired[DeleteReplicationGroupMemberActionTypeDef]
1775
+
1743
1776
  class GlobalTableDescriptionTypeDef(TypedDict):
1744
1777
  ReplicationGroup: NotRequired[List[ReplicaDescriptionTypeDef]]
1745
1778
  GlobalTableArn: NotRequired[str]
@@ -1772,11 +1805,8 @@ class TableDescriptionTypeDef(TypedDict):
1772
1805
  TableClassSummary: NotRequired[TableClassSummaryTypeDef]
1773
1806
  DeletionProtectionEnabled: NotRequired[bool]
1774
1807
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1775
-
1776
- class ReplicationGroupUpdateTypeDef(TypedDict):
1777
- Create: NotRequired[CreateReplicationGroupMemberActionTypeDef]
1778
- Update: NotRequired[UpdateReplicationGroupMemberActionTypeDef]
1779
- Delete: NotRequired[DeleteReplicationGroupMemberActionTypeDef]
1808
+ WarmThroughput: NotRequired[TableWarmThroughputDescriptionTypeDef]
1809
+ MultiRegionConsistency: NotRequired[MultiRegionConsistencyType]
1780
1810
 
1781
1811
  class ImportTableDescriptionTypeDef(TypedDict):
1782
1812
  ImportArn: NotRequired[str]
@@ -1832,6 +1862,7 @@ class CreateTableInputRequestTypeDef(TypedDict):
1832
1862
  Tags: NotRequired[Sequence[TagTypeDef]]
1833
1863
  TableClass: NotRequired[TableClassType]
1834
1864
  DeletionProtectionEnabled: NotRequired[bool]
1865
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
1835
1866
  ResourcePolicy: NotRequired[str]
1836
1867
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1837
1868
 
@@ -1848,6 +1879,7 @@ class CreateTableInputServiceResourceCreateTableTypeDef(TypedDict):
1848
1879
  Tags: NotRequired[Sequence[TagTypeDef]]
1849
1880
  TableClass: NotRequired[TableClassType]
1850
1881
  DeletionProtectionEnabled: NotRequired[bool]
1882
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
1851
1883
  ResourcePolicy: NotRequired[str]
1852
1884
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1853
1885
 
@@ -2029,7 +2061,9 @@ class UpdateTableInputRequestTypeDef(TypedDict):
2029
2061
  ReplicaUpdates: NotRequired[Sequence[ReplicationGroupUpdateTypeDef]]
2030
2062
  TableClass: NotRequired[TableClassType]
2031
2063
  DeletionProtectionEnabled: NotRequired[bool]
2064
+ MultiRegionConsistency: NotRequired[MultiRegionConsistencyType]
2032
2065
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
2066
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
2033
2067
 
2034
2068
  class UpdateTableInputTableUpdateTypeDef(TypedDict):
2035
2069
  AttributeDefinitions: NotRequired[Sequence[AttributeDefinitionTypeDef]]
@@ -2041,7 +2075,9 @@ class UpdateTableInputTableUpdateTypeDef(TypedDict):
2041
2075
  ReplicaUpdates: NotRequired[Sequence[ReplicationGroupUpdateTypeDef]]
2042
2076
  TableClass: NotRequired[TableClassType]
2043
2077
  DeletionProtectionEnabled: NotRequired[bool]
2078
+ MultiRegionConsistency: NotRequired[MultiRegionConsistencyType]
2044
2079
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
2080
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
2045
2081
 
2046
2082
  WriteRequestUnionTypeDef = Union[WriteRequestTypeDef, WriteRequestOutputTypeDef]
2047
2083
 
@@ -1,5 +1,7 @@
1
1
  """
2
2
  Source of truth for version.
3
+
4
+ Copyright 2024 Vlad Emelianov
3
5
  """
4
6
 
5
- __version__ = "1.35.54"
7
+ __version__ = "1.35.74"
@@ -20,6 +20,8 @@ Usage::
20
20
  table_exists_waiter: TableExistsWaiter = client.get_waiter("table_exists")
21
21
  table_not_exists_waiter: TableNotExistsWaiter = client.get_waiter("table_not_exists")
22
22
  ```
23
+
24
+ Copyright 2024 Vlad Emelianov
23
25
  """
24
26
 
25
27
  import sys
@@ -42,25 +44,25 @@ __all__ = ("TableExistsWaiter", "TableNotExistsWaiter")
42
44
 
43
45
  class TableExistsWaiter(Waiter):
44
46
  """
45
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableExists)
47
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableExists.html#DynamoDB.Waiter.TableExists)
46
48
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tableexistswaiter)
47
49
  """
48
50
 
49
51
  def wait(self, **kwargs: Unpack[DescribeTableInputTableExistsWaitTypeDef]) -> None:
50
52
  """
51
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableExists.wait)
53
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableExists.html#DynamoDB.Waiter.TableExists.wait)
52
54
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tableexistswaiter)
53
55
  """
54
56
 
55
57
 
56
58
  class TableNotExistsWaiter(Waiter):
57
59
  """
58
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableNotExists)
60
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableNotExists.html#DynamoDB.Waiter.TableNotExists)
59
61
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tablenotexistswaiter)
60
62
  """
61
63
 
62
64
  def wait(self, **kwargs: Unpack[DescribeTableInputTableNotExistsWaitTypeDef]) -> None:
63
65
  """
64
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableNotExists.wait)
66
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableNotExists.html#DynamoDB.Waiter.TableNotExists.wait)
65
67
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tablenotexistswaiter)
66
68
  """
@@ -20,6 +20,8 @@ Usage::
20
20
  table_exists_waiter: TableExistsWaiter = client.get_waiter("table_exists")
21
21
  table_not_exists_waiter: TableNotExistsWaiter = client.get_waiter("table_not_exists")
22
22
  ```
23
+
24
+ Copyright 2024 Vlad Emelianov
23
25
  """
24
26
 
25
27
  import sys
@@ -40,22 +42,22 @@ __all__ = ("TableExistsWaiter", "TableNotExistsWaiter")
40
42
 
41
43
  class TableExistsWaiter(Waiter):
42
44
  """
43
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableExists)
45
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableExists.html#DynamoDB.Waiter.TableExists)
44
46
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tableexistswaiter)
45
47
  """
46
48
  def wait(self, **kwargs: Unpack[DescribeTableInputTableExistsWaitTypeDef]) -> None:
47
49
  """
48
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableExists.wait)
50
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableExists.html#DynamoDB.Waiter.TableExists.wait)
49
51
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tableexistswaiter)
50
52
  """
51
53
 
52
54
  class TableNotExistsWaiter(Waiter):
53
55
  """
54
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableNotExists)
56
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableNotExists.html#DynamoDB.Waiter.TableNotExists)
55
57
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tablenotexistswaiter)
56
58
  """
57
59
  def wait(self, **kwargs: Unpack[DescribeTableInputTableNotExistsWaitTypeDef]) -> None:
58
60
  """
59
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableNotExists.wait)
61
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableNotExists.html#DynamoDB.Waiter.TableNotExists.wait)
60
62
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tablenotexistswaiter)
61
63
  """
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mypy-boto3-dynamodb
3
- Version: 1.35.54
4
- Summary: Type annotations for boto3.DynamoDB 1.35.54 service generated with mypy-boto3-builder 8.2.0
3
+ Version: 1.35.74
4
+ Summary: Type annotations for boto3 DynamoDB 1.35.74 service generated with mypy-boto3-builder 8.5.0
5
5
  Home-page: https://github.com/youtype/mypy_boto3_builder
6
6
  Author: Vlad Emelianov
7
7
  Author-email: vlad.emelianov.nz@gmail.com
@@ -9,7 +9,7 @@ License: MIT License
9
9
  Project-URL: Documentation, https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/
10
10
  Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
11
11
  Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
12
- Keywords: boto3 dynamodb type-annotations botocore mypy typeshed autocomplete
12
+ Keywords: boto3 dynamodb boto3-stubs type-annotations mypy typeshed autocomplete
13
13
  Classifier: Development Status :: 5 - Production/Stable
14
14
  Classifier: Intended Audience :: Developers
15
15
  Classifier: Environment :: Console
@@ -36,16 +36,15 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
36
36
 
37
37
  # mypy-boto3-dynamodb
38
38
 
39
- [![PyPI - mypy-boto3-dynamodb](https://img.shields.io/pypi/v/mypy-boto3-dynamodb.svg?color=blue)](https://pypi.org/project/mypy-boto3-dynamodb)
40
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-dynamodb.svg?color=blue)](https://pypi.org/project/mypy-boto3-dynamodb)
41
- [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/)
42
- [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-dynamodb)](https://pepy.tech/project/mypy-boto3-dynamodb)
39
+ [![PyPI - mypy-boto3-dynamodb](https://img.shields.io/pypi/v/mypy-boto3-dynamodb.svg?color=blue)](https://pypi.org/project/mypy-boto3-dynamodb/)
40
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-dynamodb.svg?color=blue)](https://pypi.org/project/mypy-boto3-dynamodb/)
41
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/)
42
+ [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-dynamodb)](https://pypistats.org/packages/mypy-boto3-dynamodb)
43
43
 
44
44
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
45
45
 
46
- Type annotations for
47
- [boto3.DynamoDB 1.35.54](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB)
48
- service compatible with [VSCode](https://code.visualstudio.com/),
46
+ Type annotations for [boto3 DynamoDB 1.35.74](https://pypi.org/project/boto3/)
47
+ compatible with [VSCode](https://code.visualstudio.com/),
49
48
  [PyCharm](https://www.jetbrains.com/pycharm/),
50
49
  [Emacs](https://www.gnu.org/software/emacs/),
51
50
  [Sublime Text](https://www.sublimetext.com/),
@@ -53,15 +52,15 @@ service compatible with [VSCode](https://code.visualstudio.com/),
53
52
  [pyright](https://github.com/microsoft/pyright) and other tools.
54
53
 
55
54
  Generated by
56
- [mypy-boto3-builder 8.2.0](https://github.com/youtype/mypy_boto3_builder).
55
+ [mypy-boto3-builder 8.5.0](https://github.com/youtype/mypy_boto3_builder).
57
56
 
58
57
  More information can be found on
59
58
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
60
59
  [mypy-boto3-dynamodb docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/).
61
60
 
62
- See how it helps to find and fix potential bugs:
61
+ See how it helps you find and fix potential bugs:
63
62
 
64
- ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
63
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
65
64
 
66
65
  - [mypy-boto3-dynamodb](#mypy-boto3-dynamodb)
67
66
  - [How to install](#how-to-install)
@@ -77,6 +76,7 @@ See how it helps to find and fix potential bugs:
77
76
  - [Other IDEs](#other-ides)
78
77
  - [mypy](#mypy)
79
78
  - [pyright](#pyright)
79
+ - [Pylint compatibility](#pylint-compatibility)
80
80
  - [Explicit type annotations](#explicit-type-annotations)
81
81
  - [Client annotations](#client-annotations)
82
82
  - [Paginators annotations](#paginators-annotations)
@@ -189,16 +189,31 @@ annotations required, write your `boto3` code as usual.
189
189
 
190
190
  ### PyCharm
191
191
 
192
- Install `boto3-stubs-lite[dynamodb]` in your environment:
192
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
193
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
194
+ > to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
195
+ > the issue is resolved.
196
+
197
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
198
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
199
+ > [pyright](https://github.com/microsoft/pyright) instead.
200
+
201
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
202
+ > `boto3-stubs` with
203
+ > [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
193
204
 
194
205
  ```bash
195
- python -m pip install 'boto3-stubs-lite[dynamodb]'
206
+ pip uninstall boto3-stubs
207
+ pip install boto3-stubs-lite
196
208
  ```
197
209
 
198
- Both type checking and code completion should now work. Explicit type
199
- annotations **are required**.
210
+ Install `boto3-stubs[dynamodb]` in your environment:
211
+
212
+ ```bash
213
+ python -m pip install 'boto3-stubs[dynamodb]'
214
+ ```
200
215
 
201
- Use `boto3-stubs` package instead for implicit type discovery.
216
+ Both type checking and code completion should now work.
202
217
 
203
218
  <a id="emacs"></a>
204
219
 
@@ -284,6 +299,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
284
299
  Type checking should now work. No explicit type annotations required, write
285
300
  your `boto3` code as usual.
286
301
 
302
+ <a id="pylint-compatibility"></a>
303
+
304
+ ### Pylint compatibility
305
+
306
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
307
+ `mypy-boto3-dynamodb` dependency in production. However, there is an issue in
308
+ `pylint` that it complains about undefined variables. To fix it, set all types
309
+ to `object` in non-`TYPE_CHECKING` mode.
310
+
311
+ ```python
312
+ from typing import TYPE_CHECKING
313
+
314
+ if TYPE_CHECKING:
315
+ from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
316
+ from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
317
+ from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
318
+ else:
319
+ EC2Client = object
320
+ EC2ServiceResource = object
321
+ BundleTaskCompleteWaiter = object
322
+ DescribeVolumesPaginator = object
323
+
324
+ ...
325
+ ```
326
+
287
327
  <a id="explicit-type-annotations"></a>
288
328
 
289
329
  ## Explicit type annotations
@@ -0,0 +1,22 @@
1
+ mypy_boto3_dynamodb/__init__.py,sha256=IqnRdOxcPeGY5qqD4SnClnlWbQAhQaxI02l1_a5aYIo,1890
2
+ mypy_boto3_dynamodb/__init__.pyi,sha256=VuTYb1W4C1rI4Cqkx0Drv6XkC6jcZE5Av3LYL1k8b_8,1888
3
+ mypy_boto3_dynamodb/__main__.py,sha256=x2ag6CC4GrWgQRAS0QYAW2Ti_aGhkLKjzRBzUCj0rAs,953
4
+ mypy_boto3_dynamodb/client.py,sha256=9l75nk3NK7ajNbC1xiCNXsLa7udXBIwZeXkCRDWVmUo,43310
5
+ mypy_boto3_dynamodb/client.pyi,sha256=ukGX7famNeTHLaJq7gUAuKd72Ml4KvhF-WhUXQGYV-4,43306
6
+ mypy_boto3_dynamodb/literals.py,sha256=kTdzBeMi7Dpu3OAdXauWzL9F-VNI0vz04m-_cfx-QqU,14566
7
+ mypy_boto3_dynamodb/literals.pyi,sha256=sa-C_XcYnDIa3WzB5sIdEaOmTRuuHI1HIgU7TUeoH94,14564
8
+ mypy_boto3_dynamodb/paginator.py,sha256=O7_UAmY9FWsB66j5mti4FfgIvVbfI2LwBNOscQp5qEQ,6237
9
+ mypy_boto3_dynamodb/paginator.pyi,sha256=KjfAmkVhz4BFdeKCT69-XcJym_USyLXjU5v-vS0UCl8,6224
10
+ mypy_boto3_dynamodb/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ mypy_boto3_dynamodb/service_resource.py,sha256=PjFEuG5LNWz9dfnD3J6Ue8yOBjQi97cehT57qq7b-Go,17037
12
+ mypy_boto3_dynamodb/service_resource.pyi,sha256=dmxqVeq0vX8S810IzszgWx0qNCQ0objNQtTbtFt_mb8,17030
13
+ mypy_boto3_dynamodb/type_defs.py,sha256=JoRqelRS1fQA3SMkdYv0EgYL-9d4rbAb1wx2g45mYO0,85023
14
+ mypy_boto3_dynamodb/type_defs.pyi,sha256=r8vvFtBsNIbamcMTTzeIZsUE_qLIamvim7PHUmmuG1o,84745
15
+ mypy_boto3_dynamodb/version.py,sha256=B0P5JUO-cREkwttMqs7oU9i3UOmgK6CWkZC0OK5p5h4,93
16
+ mypy_boto3_dynamodb/waiter.py,sha256=NxDbjw649ZmSxYPf6C52CJ2hmvZ_rlmawBlDCmrfr_0,2577
17
+ mypy_boto3_dynamodb/waiter.pyi,sha256=wHZrge9wvMSUHIBlzU1FTUPdCjJ-9aYDo-q-rRjsIcw,2572
18
+ mypy_boto3_dynamodb-1.35.74.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
19
+ mypy_boto3_dynamodb-1.35.74.dist-info/METADATA,sha256=CMhyK7irgwJWheHudiEGSw_Aj0fBD-A6tGRD-n7BxO4,17547
20
+ mypy_boto3_dynamodb-1.35.74.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
21
+ mypy_boto3_dynamodb-1.35.74.dist-info/top_level.txt,sha256=QxApsWxKFAcW2cmcxwGGHYl6FlOK1EYbSYEknyOyFAY,20
22
+ mypy_boto3_dynamodb-1.35.74.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,22 +0,0 @@
1
- mypy_boto3_dynamodb/__init__.py,sha256=4MPLwUMrXggGSAuIregEB9OPgK5lS38eH4VLQTv3RMk,1859
2
- mypy_boto3_dynamodb/__init__.pyi,sha256=GMdsocJat-pPuRXyCmJcizZ1LKMSLPgLD7SYG-zOa14,1857
3
- mypy_boto3_dynamodb/__main__.py,sha256=15FTY87bOwPQzb97Fi9ZBrLHgs1gZwQ75Bk4GS2k2ks,922
4
- mypy_boto3_dynamodb/client.py,sha256=7uJCyvnrXdbPYhaO7T09dHM6DNUuKwIDGga9_pQWCH4,43704
5
- mypy_boto3_dynamodb/client.pyi,sha256=uFf_kU2QfKRMacM08sQbrQlb2nnxSsPLkTvlmdxQKV8,43700
6
- mypy_boto3_dynamodb/literals.py,sha256=BaiE6IhRoVA3aTuiJoKEGYjqtH1IX9lx0LAeFzPK0pI,14175
7
- mypy_boto3_dynamodb/literals.pyi,sha256=m0apXKCXchR5sTvOtfzSH3RI667mVbcVzkH8AmffKHE,14173
8
- mypy_boto3_dynamodb/paginator.py,sha256=uUrrQbFJY75Lint9Z51fNOS1heWMXFcIqZTN7VMxTN0,6000
9
- mypy_boto3_dynamodb/paginator.pyi,sha256=ZgjpIdY4x9saGD9bHDfEmCbJiJU4zYbRgGxYPcB4IL0,5987
10
- mypy_boto3_dynamodb/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- mypy_boto3_dynamodb/service_resource.py,sha256=kecpSoq1436RErIdhUqUpaN3YLDRY0XghSoJyqdWruU,17161
12
- mypy_boto3_dynamodb/service_resource.pyi,sha256=1gfpGlCsLk3WYTYsb11fFWnth6CImK1NPR5natIAyZg,17154
13
- mypy_boto3_dynamodb/type_defs.py,sha256=5B4sBfMGJ-ayt6hpFR9yxdX4YefzfBJXoksEd3RAkNo,83355
14
- mypy_boto3_dynamodb/type_defs.pyi,sha256=qZ9mn-D_5tsJDrTFekLl7yE9bPRj326bcCL0od9392M,83081
15
- mypy_boto3_dynamodb/version.py,sha256=cLWvQh3w-Hmy-DvC_YfU4atSbz-CreL07O7Hrig1-3M,62
16
- mypy_boto3_dynamodb/waiter.py,sha256=_uH-T4GRopvRbawdqtQqjOrJvwzPJwR_VJVaCk7xAeQ,2464
17
- mypy_boto3_dynamodb/waiter.pyi,sha256=f2ClcbRIbbDzCu4v6kRyEPOaj9-V4woG3DdO9lMxGfk,2459
18
- mypy_boto3_dynamodb-1.35.54.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
19
- mypy_boto3_dynamodb-1.35.54.dist-info/METADATA,sha256=dnbofwFXhnCEHTD0jtXmXEV6B-PO7EskafFFg7NQih8,16271
20
- mypy_boto3_dynamodb-1.35.54.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
21
- mypy_boto3_dynamodb-1.35.54.dist-info/top_level.txt,sha256=QxApsWxKFAcW2cmcxwGGHYl6FlOK1EYbSYEknyOyFAY,20
22
- mypy_boto3_dynamodb-1.35.54.dist-info/RECORD,,