Skip to content

Commit

Permalink
Add missing newline
Browse files Browse the repository at this point in the history
  • Loading branch information
hipek8 committed Sep 27, 2024
1 parent e8c0ac2 commit 1b559cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ralph/api/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def __init__(self, *args, **kwargs):

def to_representation(self, data):
iterable = data.all() if isinstance(data, models.Manager) else data

def iterate():
for item in iterable:
if self.child_serializers.get(item.__class__):
Expand Down

0 comments on commit 1b559cc

Please sign in to comment.