Skip to content

Commit

Permalink
Bugfix to handle empty datasetarns (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
VoicuAWS authored Oct 17, 2023
1 parent 3baef6b commit 305fce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cid/helpers/quicksight/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def _safe_int(value, default=None):


# Fetch datasets
for dataset in dashboard.version.get('DataSetArns'):
for dataset in dashboard.version.get('DataSetArns', []):
dataset_id = dataset.split('/')[-1]
try:
_dataset = self.describe_dataset(id=dataset_id)
Expand Down

0 comments on commit 305fce1

Please sign in to comment.