Skip to content

Commit

Permalink
style: [AXIMST-584] add missing docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
NiedielnitsevIvan committed Mar 13, 2024
1 parent 08808c0 commit 5bdf7d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lms/djangoapps/course_home_api/outline/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ def get_blocks(self, block): # pylint: disable=missing-function-docstring

@staticmethod
def get_vertical_icon_class(block):
"""
Get the icon class for a vertical block based on its children.
"""
children = block.get('children', [])
child_classes = {child.get('type') for child in children}
new_class = 'other'
Expand Down

0 comments on commit 5bdf7d2

Please sign in to comment.