Skip to content

Commit

Permalink
Merge pull request #517 from palmieric/cpalmieri-PM-2744
Browse files Browse the repository at this point in the history
fixed "dictionary changed size during iteration"
  • Loading branch information
jjaakola-aiven authored Jan 17, 2023
2 parents 9c388ba + abeb3d3 commit 9ddbcc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karapace/schema_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def subjects(self) -> Dict[Subject, SubjectData]:
def subjects_list(self, include_deleted: bool = False) -> List[Subject]:
return [
key
for key, val in self.schema_reader.subjects.items()
for key in list(self.schema_reader.subjects.keys())
if self.schema_reader.get_schemas(key, include_deleted=include_deleted)
]

Expand Down

0 comments on commit 9ddbcc8

Please sign in to comment.