openedx-learning 0.25.0__tar.gz → 0.26.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {openedx_learning-0.25.0/openedx_learning.egg-info → openedx_learning-0.26.0}/PKG-INFO +3 -3
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/__init__.py +1 -1
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/api.py +7 -1
- {openedx_learning-0.25.0 → openedx_learning-0.26.0/openedx_learning.egg-info}/PKG-INFO +3 -3
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/rules.py +2 -2
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/CHANGELOG.rst +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/LICENSE.txt +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/MANIFEST.in +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/README.rst +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/api/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/api/authoring.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/api/authoring_models.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/collections/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/collections/admin.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/collections/api.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/collections/apps.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/collections/migrations/0001_initial.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/collections/migrations/0002_remove_collection_name_collection_created_by_and_more.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/collections/migrations/0003_collection_entities.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/collections/migrations/0004_collection_key.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/collections/migrations/0005_alter_collection_options_alter_collection_enabled.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/collections/migrations/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/collections/models.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/components/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/components/admin.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/components/api.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/components/apps.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/components/management/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/components/management/commands/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/components/management/commands/add_assets_to_component.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/components/migrations/0001_initial.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/components/migrations/0002_alter_componentversioncontent_key.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/components/migrations/0003_remove_componentversioncontent_learner_downloadable.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/components/migrations/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/components/models.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/contents/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/contents/admin.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/contents/api.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/contents/apps.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/contents/migrations/0001_initial.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/contents/migrations/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/contents/models.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/admin.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/apps.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/contextmanagers.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/migrations/0001_initial.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/migrations/0002_alter_learningpackage_key_and_more.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/migrations/0003_containers.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/migrations/0004_publishableentity_can_stand_alone.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/migrations/0005_alter_entitylistrow_options.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/migrations/0006_draftchangelog.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/migrations/0007_bootstrap_draftchangelog.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/migrations/0008_alter_draftchangelogrecord_options_and_more.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/migrations/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/models/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/models/container.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/models/draft_log.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/models/entity_list.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/models/learning_package.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/models/publish_log.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/publishing/models/publishable_entity.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/sections/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/sections/api.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/sections/apps.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/sections/migrations/0001_initial.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/sections/migrations/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/sections/models.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/subsections/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/subsections/api.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/subsections/apps.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/subsections/migrations/0001_initial.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/subsections/migrations/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/subsections/models.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/units/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/units/api.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/units/apps.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/units/migrations/0001_initial.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/units/migrations/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/units/models.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/contrib/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/contrib/media_server/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/contrib/media_server/apps.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/contrib/media_server/urls.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/contrib/media_server/views.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/lib/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/lib/admin_utils.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/lib/cache.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/lib/collations.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/lib/fields.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/lib/managers.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/lib/test_utils.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/lib/validators.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/py.typed +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning.egg-info/SOURCES.txt +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning.egg-info/dependency_links.txt +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning.egg-info/not-zip-safe +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning.egg-info/requires.txt +2 -2
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning.egg-info/top_level.txt +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/admin.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/api.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/apps.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/data.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/import_export/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/import_export/actions.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/import_export/api.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/import_export/exceptions.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/import_export/import_plan.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/import_export/parsers.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/import_export/tasks.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/import_export/template.csv +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/import_export/template.json +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0001_initial.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0001_squashed.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0002_auto_20230718_2026.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0003_auto_20230721_1238.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0004_auto_20230723_2001.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0005_language_taxonomy.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0006_alter_objecttag_unique_together.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0006_auto_20230802_1631.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0007_tag_import_task_log_null_fix.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0008_taxonomy_description_not_null.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0009_alter_objecttag_object_id.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0010_cleanups.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0011_remove_required.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0012_language_taxonomy.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0013_tag_parent_blank.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0014_minor_fixes.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0015_taxonomy_export_id.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0016_object_tag_export_id.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0017_alter_tagimporttask_status.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/0018_objecttag_is_copied.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/migrations/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/models/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/models/base.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/models/import_export.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/models/system_defined.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/models/utils.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/rest_api/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/rest_api/paginators.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/rest_api/urls.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/rest_api/utils.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/rest_api/v1/__init__.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/rest_api/v1/permissions.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/rest_api/v1/serializers.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/rest_api/v1/urls.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/rest_api/v1/views.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/rest_api/v1/views_import.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/urls.py +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/py.typed +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/requirements/base.in +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/setup.cfg +0 -0
- {openedx_learning-0.25.0 → openedx_learning-0.26.0}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: openedx-learning
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.26.0
|
|
4
4
|
Summary: Open edX Learning Core and Tagging.
|
|
5
5
|
Home-page: https://github.com/openedx/openedx-learning
|
|
6
6
|
Author: David Ormsbee
|
|
@@ -19,10 +19,10 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
20
|
Requires-Python: >=3.11
|
|
21
21
|
License-File: LICENSE.txt
|
|
22
|
-
Requires-Dist: attrs
|
|
23
|
-
Requires-Dist: edx-drf-extensions
|
|
24
22
|
Requires-Dist: djangorestframework<4.0
|
|
25
23
|
Requires-Dist: celery
|
|
24
|
+
Requires-Dist: edx-drf-extensions
|
|
25
|
+
Requires-Dist: attrs
|
|
26
26
|
Requires-Dist: Django
|
|
27
27
|
Requires-Dist: rules<4.0
|
|
28
28
|
Dynamic: author
|
|
@@ -1203,6 +1203,7 @@ def get_container_by_key(learning_package_id: int, /, key: str) -> Container:
|
|
|
1203
1203
|
def get_containers(
|
|
1204
1204
|
learning_package_id: int,
|
|
1205
1205
|
container_cls: type[ContainerModel] = Container, # type: ignore[assignment]
|
|
1206
|
+
include_deleted: bool | None = False,
|
|
1206
1207
|
) -> QuerySet[ContainerModel]:
|
|
1207
1208
|
"""
|
|
1208
1209
|
[ 🛑 UNSTABLE ]
|
|
@@ -1211,12 +1212,17 @@ def get_containers(
|
|
|
1211
1212
|
Args:
|
|
1212
1213
|
learning_package_id: The primary key of the learning package
|
|
1213
1214
|
container_cls: The subclass of Container to use, if applicable
|
|
1215
|
+
include_deleted: If True, include deleted containers (with no draft version) in the result.
|
|
1214
1216
|
|
|
1215
1217
|
Returns:
|
|
1216
1218
|
A queryset containing the container associated with the given learning package.
|
|
1217
1219
|
"""
|
|
1218
1220
|
assert issubclass(container_cls, Container)
|
|
1219
|
-
|
|
1221
|
+
container_qset = container_cls.objects.filter(publishable_entity__learning_package=learning_package_id)
|
|
1222
|
+
if not include_deleted:
|
|
1223
|
+
container_qset = container_qset.filter(publishable_entity__draft__version__isnull=False)
|
|
1224
|
+
|
|
1225
|
+
return container_qset.order_by('pk')
|
|
1220
1226
|
|
|
1221
1227
|
|
|
1222
1228
|
def get_collection_containers(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: openedx-learning
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.26.0
|
|
4
4
|
Summary: Open edX Learning Core and Tagging.
|
|
5
5
|
Home-page: https://github.com/openedx/openedx-learning
|
|
6
6
|
Author: David Ormsbee
|
|
@@ -19,10 +19,10 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
20
|
Requires-Python: >=3.11
|
|
21
21
|
License-File: LICENSE.txt
|
|
22
|
-
Requires-Dist: attrs
|
|
23
|
-
Requires-Dist: edx-drf-extensions
|
|
24
22
|
Requires-Dist: djangorestframework<4.0
|
|
25
23
|
Requires-Dist: celery
|
|
24
|
+
Requires-Dist: edx-drf-extensions
|
|
25
|
+
Requires-Dist: attrs
|
|
26
26
|
Requires-Dist: Django
|
|
27
27
|
Requires-Dist: rules<4.0
|
|
28
28
|
Dynamic: author
|
|
@@ -112,7 +112,7 @@ def can_view_object_tag(
|
|
|
112
112
|
|
|
113
113
|
# Checks the permission for the taxonomy
|
|
114
114
|
taxonomy_perm = user.has_perm(
|
|
115
|
-
"oel_tagging.view_objecttag_taxonomy", perm_obj.taxonomy
|
|
115
|
+
"oel_tagging.view_objecttag_taxonomy", perm_obj.taxonomy # type: ignore[arg-type]
|
|
116
116
|
)
|
|
117
117
|
if not taxonomy_perm:
|
|
118
118
|
return False
|
|
@@ -160,7 +160,7 @@ def can_change_object_tag(
|
|
|
160
160
|
|
|
161
161
|
# Checks the permission for the taxonomy
|
|
162
162
|
taxonomy_perm = user.has_perm(
|
|
163
|
-
"oel_tagging.change_objecttag_taxonomy", perm_obj.taxonomy
|
|
163
|
+
"oel_tagging.change_objecttag_taxonomy", perm_obj.taxonomy # type: ignore[arg-type]
|
|
164
164
|
)
|
|
165
165
|
if not taxonomy_perm:
|
|
166
166
|
return False
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/api/authoring_models.py
RENAMED
|
File without changes
|
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/contents/api.py
RENAMED
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/contents/apps.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/sections/api.py
RENAMED
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/sections/apps.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/units/api.py
RENAMED
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/units/apps.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/apps/authoring/units/models.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/contrib/media_server/apps.py
RENAMED
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/contrib/media_server/urls.py
RENAMED
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning/contrib/media_server/views.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_learning.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/models/__init__.py
RENAMED
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/models/base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/models/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/rest_api/urls.py
RENAMED
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/rest_api/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openedx_learning-0.25.0 → openedx_learning-0.26.0}/openedx_tagging/core/tagging/rest_api/v1/urls.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|