diff --git a/apps/ops/models/job.py b/apps/ops/models/job.py index 3d631c06b..c41432a96 100644 --- a/apps/ops/models/job.py +++ b/apps/ops/models/job.py @@ -47,7 +47,8 @@ class JMSPermedInventory(JMSInventory): self.assets_accounts_mapper = self.get_assets_accounts_mapper() def get_asset_sorted_accounts(self, asset): - return self.assets_accounts_mapper.get(asset.id, []) + accounts = self.assets_accounts_mapper.get(asset.id, []) + return list(accounts) def get_assets_accounts_mapper(self): mapper = defaultdict(set)