Skip to content

Commit

Permalink
configure streams based on settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Silhan committed Jan 11, 2022
1 parent b6ae54f commit bf616a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pydjamodb/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ def create_table(self,
settings.PYDJAMODB_DATABASE.get('POINT_IN_TIME_RECOVERY', False) if set_point_in_time_recovery is None
else set_point_in_time_recovery
)
if not stream_specification:
stream_specification = settings.PYDJAMODB_DATABASE.get('STREAM_SPECIFICATION')

if tags is None and 'TAGS' in settings.PYDJAMODB_DATABASE:
tags = {
Expand Down

0 comments on commit bf616a2

Please sign in to comment.