We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e0e78d + c2cbf85 commit 3e4e64aCopy full SHA for 3e4e64a
1 file changed
pydynamodb/sql/ddl_alter.py
@@ -365,7 +365,7 @@ def _construct_replica_gsi(
365
options = self._parse_option_path(option_path_name, option_value)
366
converted_ = {"IndexName": index_name}
367
368
- if options is not None or len(options) > 0:
+ if options is not None and len(options) > 0:
369
converted_.update(options)
370
gsis_.append(converted_)
371
0 commit comments