From 54cc31c503c28a8b7ca1c69c453a664bbc4dec9f Mon Sep 17 00:00:00 2001 From: XnpioChV Date: Wed, 21 May 2025 21:18:50 -0500 Subject: [PATCH] style: Delete repeted code in units, subsections and sections APIs --- openedx_learning/apps/authoring/sections/api.py | 1 - openedx_learning/apps/authoring/subsections/api.py | 1 - openedx_learning/apps/authoring/units/api.py | 1 - 3 files changed, 3 deletions(-) diff --git a/openedx_learning/apps/authoring/sections/api.py b/openedx_learning/apps/authoring/sections/api.py index 24207653a..b5dc9b589 100644 --- a/openedx_learning/apps/authoring/sections/api.py +++ b/openedx_learning/apps/authoring/sections/api.py @@ -24,7 +24,6 @@ "get_latest_section_version", "SectionListEntry", "get_subsections_in_section", - "get_subsections_in_section", "get_subsections_in_published_section_as_of", ] diff --git a/openedx_learning/apps/authoring/subsections/api.py b/openedx_learning/apps/authoring/subsections/api.py index a47400d5c..98f99a761 100644 --- a/openedx_learning/apps/authoring/subsections/api.py +++ b/openedx_learning/apps/authoring/subsections/api.py @@ -24,7 +24,6 @@ "get_latest_subsection_version", "SubsectionListEntry", "get_units_in_subsection", - "get_units_in_subsection", "get_units_in_published_subsection_as_of", ] diff --git a/openedx_learning/apps/authoring/units/api.py b/openedx_learning/apps/authoring/units/api.py index 58dd6e374..2ceb6eed0 100644 --- a/openedx_learning/apps/authoring/units/api.py +++ b/openedx_learning/apps/authoring/units/api.py @@ -24,7 +24,6 @@ "get_latest_unit_version", "UnitListEntry", "get_components_in_unit", - "get_components_in_unit", "get_components_in_published_unit_as_of", ]