diff --git a/openedx/core/djangoapps/content_libraries/api.py b/openedx/core/djangoapps/content_libraries/api.py index a9601a4e70a7..b9f3779af539 100644 --- a/openedx/core/djangoapps/content_libraries/api.py +++ b/openedx/core/djangoapps/content_libraries/api.py @@ -218,7 +218,6 @@ class LibraryXBlockMetadata: last_draft_created_by = attr.ib("") published_by = attr.ib("") has_unpublished_changes = attr.ib(False) - tags_count = attr.ib(0) created = attr.ib(default=None, type=datetime) @classmethod diff --git a/openedx/core/djangoapps/content_libraries/tests/test_content_libraries.py b/openedx/core/djangoapps/content_libraries/tests/test_content_libraries.py index d995a2c79683..7b571058ee5a 100644 --- a/openedx/core/djangoapps/content_libraries/tests/test_content_libraries.py +++ b/openedx/core/djangoapps/content_libraries/tests/test_content_libraries.py @@ -380,7 +380,7 @@ def test_library_blocks_studio_view(self): "id": "lb:CL-TEST:testlib2:html:html1", "display_name": "Text", "block_type": "html", - "has_unpublished_changes": True, + "has_unpublished_changes": True , "last_published": None, "published_by": None, "last_draft_created": create_date.isoformat().replace('+00:00', 'Z'),