Dynamojo 2.0.0__tar.gz → 2.0.1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: Dynamojo
3
- Version: 2.0.0
3
+ Version: 2.0.1
4
4
  Summary: ORM For Dynamodb
5
5
  Author: Mathew Moon
6
6
  Author-email: me@mathewmoon.net
@@ -87,7 +87,7 @@ class IndexList(UserDict):
87
87
  def get_indexes(
88
88
  table_name: str, table_schema: dict = None, dynamo_client=None
89
89
  ) -> IndexList:
90
- if not dynamo_client:
90
+ if not dynamo_client and not table_schema:
91
91
  dynamo_client = boto3.client("dynamodb")
92
92
 
93
93
  desc = table_schema or dynamo_client.describe_table(TableName=table_name)["Table"]
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "Dynamojo"
3
- version = "2.0.0"
3
+ version = "2.0.1"
4
4
  description = "ORM For Dynamodb"
5
5
  authors = ["Mathew Moon <me@mathewmoon.net>"]
6
6
  homepage = "https://github.com/mathewmoon/dynamojo"
File without changes
File without changes
File without changes
File without changes
File without changes