From bfb0833f4163deb2fbee5d4f4bc93df0278085ba Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Mon, 4 Nov 2024 17:01:27 +0000 Subject: [PATCH] Black formatting --- etna/api/urls.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etna/api/urls.py b/etna/api/urls.py index 814323304..da4743532 100644 --- a/etna/api/urls.py +++ b/etna/api/urls.py @@ -272,7 +272,9 @@ def blogs_list_view(self, request): for blog in queryset.iterator(): blogs_children = blog.get_children().type(BlogPage).live() for restricted_page in restricted_pages: - blogs_children = blogs_children.not_descendant_of(restricted_page, inclusive=True) + blogs_children = blogs_children.not_descendant_of( + restricted_page, inclusive=True + ) blogs_children = DefaultPageSerializer(blogs_children, many=True) if blogs_children.data: blogs += blogs_children.data