openedx-learning 0.30.1__tar.gz → 0.30.2__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.
Files changed (177) hide show
  1. {openedx_learning-0.30.1/openedx_learning.egg-info → openedx_learning-0.30.2}/PKG-INFO +4 -4
  2. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/__init__.py +1 -1
  3. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/backup_restore/serializers.py +0 -3
  4. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/backup_restore/zipper.py +18 -5
  5. {openedx_learning-0.30.1 → openedx_learning-0.30.2/openedx_learning.egg-info}/PKG-INFO +4 -4
  6. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/CHANGELOG.rst +0 -0
  7. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/LICENSE.txt +0 -0
  8. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/MANIFEST.in +0 -0
  9. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/README.rst +0 -0
  10. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/api/__init__.py +0 -0
  11. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/api/authoring.py +0 -0
  12. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/api/authoring_models.py +0 -0
  13. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/__init__.py +0 -0
  14. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/__init__.py +0 -0
  15. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/backup_restore/__init__.py +0 -0
  16. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/backup_restore/admin.py +0 -0
  17. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/backup_restore/api.py +0 -0
  18. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/backup_restore/apps.py +0 -0
  19. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/backup_restore/management/__init__.py +0 -0
  20. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/backup_restore/management/commands/__init__.py +0 -0
  21. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/backup_restore/management/commands/lp_dump.py +0 -0
  22. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/backup_restore/management/commands/lp_load.py +0 -0
  23. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/backup_restore/migrations/__init__.py +0 -0
  24. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/backup_restore/models.py +0 -0
  25. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/backup_restore/toml.py +0 -0
  26. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/collections/__init__.py +0 -0
  27. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/collections/admin.py +0 -0
  28. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/collections/api.py +0 -0
  29. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/collections/apps.py +0 -0
  30. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/collections/migrations/0001_initial.py +0 -0
  31. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/collections/migrations/0002_remove_collection_name_collection_created_by_and_more.py +0 -0
  32. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/collections/migrations/0003_collection_entities.py +0 -0
  33. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/collections/migrations/0004_collection_key.py +0 -0
  34. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/collections/migrations/0005_alter_collection_options_alter_collection_enabled.py +0 -0
  35. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/collections/migrations/__init__.py +0 -0
  36. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/collections/models.py +0 -0
  37. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/components/__init__.py +0 -0
  38. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/components/admin.py +0 -0
  39. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/components/api.py +0 -0
  40. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/components/apps.py +0 -0
  41. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/components/management/__init__.py +0 -0
  42. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/components/management/commands/__init__.py +0 -0
  43. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/components/management/commands/add_assets_to_component.py +0 -0
  44. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/components/migrations/0001_initial.py +0 -0
  45. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/components/migrations/0002_alter_componentversioncontent_key.py +0 -0
  46. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/components/migrations/0003_remove_componentversioncontent_learner_downloadable.py +0 -0
  47. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/components/migrations/0004_remove_componentversioncontent_uuid.py +0 -0
  48. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/components/migrations/__init__.py +0 -0
  49. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/components/models.py +0 -0
  50. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/contents/__init__.py +0 -0
  51. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/contents/admin.py +0 -0
  52. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/contents/api.py +0 -0
  53. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/contents/apps.py +0 -0
  54. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/contents/migrations/0001_initial.py +0 -0
  55. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/contents/migrations/__init__.py +0 -0
  56. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/contents/models.py +0 -0
  57. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/__init__.py +0 -0
  58. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/admin.py +0 -0
  59. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/api.py +0 -0
  60. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/apps.py +0 -0
  61. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/contextmanagers.py +0 -0
  62. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/migrations/0001_initial.py +0 -0
  63. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/migrations/0002_alter_learningpackage_key_and_more.py +0 -0
  64. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/migrations/0003_containers.py +0 -0
  65. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/migrations/0004_publishableentity_can_stand_alone.py +0 -0
  66. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/migrations/0005_alter_entitylistrow_options.py +0 -0
  67. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/migrations/0006_draftchangelog.py +0 -0
  68. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/migrations/0007_bootstrap_draftchangelog.py +0 -0
  69. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/migrations/0008_alter_draftchangelogrecord_options_and_more.py +0 -0
  70. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/migrations/0009_dependencies_and_hashing.py +0 -0
  71. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/migrations/0010_backfill_dependencies.py +0 -0
  72. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/migrations/__init__.py +0 -0
  73. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/models/__init__.py +0 -0
  74. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/models/container.py +0 -0
  75. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/models/draft_log.py +0 -0
  76. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/models/entity_list.py +0 -0
  77. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/models/learning_package.py +0 -0
  78. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/models/publish_log.py +0 -0
  79. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/publishing/models/publishable_entity.py +0 -0
  80. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/sections/__init__.py +0 -0
  81. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/sections/admin.py +0 -0
  82. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/sections/api.py +0 -0
  83. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/sections/apps.py +0 -0
  84. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/sections/migrations/0001_initial.py +0 -0
  85. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/sections/migrations/__init__.py +0 -0
  86. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/sections/models.py +0 -0
  87. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/subsections/__init__.py +0 -0
  88. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/subsections/admin.py +0 -0
  89. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/subsections/api.py +0 -0
  90. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/subsections/apps.py +0 -0
  91. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/subsections/migrations/0001_initial.py +0 -0
  92. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/subsections/migrations/__init__.py +0 -0
  93. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/subsections/models.py +0 -0
  94. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/units/__init__.py +0 -0
  95. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/units/admin.py +0 -0
  96. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/units/api.py +0 -0
  97. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/units/apps.py +0 -0
  98. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/units/migrations/0001_initial.py +0 -0
  99. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/units/migrations/__init__.py +0 -0
  100. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/apps/authoring/units/models.py +0 -0
  101. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/contrib/__init__.py +0 -0
  102. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/contrib/media_server/__init__.py +0 -0
  103. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/contrib/media_server/apps.py +0 -0
  104. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/contrib/media_server/urls.py +0 -0
  105. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/contrib/media_server/views.py +0 -0
  106. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/lib/__init__.py +0 -0
  107. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/lib/admin_utils.py +0 -0
  108. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/lib/cache.py +0 -0
  109. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/lib/collations.py +0 -0
  110. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/lib/fields.py +0 -0
  111. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/lib/managers.py +0 -0
  112. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/lib/test_utils.py +0 -0
  113. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/lib/validators.py +0 -0
  114. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning/py.typed +0 -0
  115. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning.egg-info/SOURCES.txt +0 -0
  116. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning.egg-info/dependency_links.txt +0 -0
  117. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning.egg-info/not-zip-safe +0 -0
  118. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning.egg-info/requires.txt +3 -3
  119. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_learning.egg-info/top_level.txt +0 -0
  120. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/__init__.py +0 -0
  121. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/__init__.py +0 -0
  122. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/__init__.py +0 -0
  123. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/admin.py +0 -0
  124. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/api.py +0 -0
  125. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/apps.py +0 -0
  126. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/data.py +0 -0
  127. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/import_export/__init__.py +0 -0
  128. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/import_export/actions.py +0 -0
  129. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/import_export/api.py +0 -0
  130. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/import_export/exceptions.py +0 -0
  131. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/import_export/import_plan.py +0 -0
  132. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/import_export/parsers.py +0 -0
  133. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/import_export/tasks.py +0 -0
  134. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/import_export/template.csv +0 -0
  135. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/import_export/template.json +0 -0
  136. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0001_initial.py +0 -0
  137. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0001_squashed.py +0 -0
  138. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0002_auto_20230718_2026.py +0 -0
  139. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0003_auto_20230721_1238.py +0 -0
  140. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0004_auto_20230723_2001.py +0 -0
  141. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0005_language_taxonomy.py +0 -0
  142. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0006_alter_objecttag_unique_together.py +0 -0
  143. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0006_auto_20230802_1631.py +0 -0
  144. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0007_tag_import_task_log_null_fix.py +0 -0
  145. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0008_taxonomy_description_not_null.py +0 -0
  146. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0009_alter_objecttag_object_id.py +0 -0
  147. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0010_cleanups.py +0 -0
  148. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0011_remove_required.py +0 -0
  149. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0012_language_taxonomy.py +0 -0
  150. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0013_tag_parent_blank.py +0 -0
  151. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0014_minor_fixes.py +0 -0
  152. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0015_taxonomy_export_id.py +0 -0
  153. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0016_object_tag_export_id.py +0 -0
  154. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0017_alter_tagimporttask_status.py +0 -0
  155. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/0018_objecttag_is_copied.py +0 -0
  156. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/migrations/__init__.py +0 -0
  157. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/models/__init__.py +0 -0
  158. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/models/base.py +0 -0
  159. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/models/import_export.py +0 -0
  160. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/models/system_defined.py +0 -0
  161. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/models/utils.py +0 -0
  162. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/rest_api/__init__.py +0 -0
  163. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/rest_api/paginators.py +0 -0
  164. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/rest_api/urls.py +0 -0
  165. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/rest_api/utils.py +0 -0
  166. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/rest_api/v1/__init__.py +0 -0
  167. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/rest_api/v1/permissions.py +0 -0
  168. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/rest_api/v1/serializers.py +0 -0
  169. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/rest_api/v1/urls.py +0 -0
  170. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/rest_api/v1/views.py +0 -0
  171. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/rest_api/v1/views_import.py +0 -0
  172. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/rules.py +0 -0
  173. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/core/tagging/urls.py +0 -0
  174. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/openedx_tagging/py.typed +0 -0
  175. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/requirements/base.in +0 -0
  176. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/setup.cfg +0 -0
  177. {openedx_learning-0.30.1 → openedx_learning-0.30.2}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: openedx-learning
3
- Version: 0.30.1
3
+ Version: 0.30.2
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,12 +19,12 @@ 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: tomlkit
22
+ Requires-Dist: attrs
23
23
  Requires-Dist: djangorestframework<4.0
24
+ Requires-Dist: edx-drf-extensions
25
+ Requires-Dist: tomlkit
24
26
  Requires-Dist: celery
25
27
  Requires-Dist: Django
26
- Requires-Dist: attrs
27
- Requires-Dist: edx-drf-extensions
28
28
  Requires-Dist: rules<4.0
29
29
  Dynamic: author
30
30
  Dynamic: author-email
@@ -2,4 +2,4 @@
2
2
  Open edX Learning ("Learning Core").
3
3
  """
4
4
 
5
- __version__ = "0.30.1"
5
+ __version__ = "0.30.2"
@@ -44,7 +44,6 @@ class EntitySerializer(serializers.Serializer): # pylint: disable=abstract-meth
44
44
  can_stand_alone = serializers.BooleanField(required=True)
45
45
  key = serializers.CharField(required=True)
46
46
  created = serializers.DateTimeField(required=True, default_timezone=timezone.utc)
47
- created_by = serializers.CharField(required=True, allow_null=True)
48
47
 
49
48
 
50
49
  class EntityVersionSerializer(serializers.Serializer): # pylint: disable=abstract-method
@@ -54,7 +53,6 @@ class EntityVersionSerializer(serializers.Serializer): # pylint: disable=abstra
54
53
  title = serializers.CharField(required=True)
55
54
  entity_key = serializers.CharField(required=True)
56
55
  created = serializers.DateTimeField(required=True, default_timezone=timezone.utc)
57
- created_by = serializers.CharField(required=True, allow_null=True)
58
56
  version_num = serializers.IntegerField(required=True)
59
57
 
60
58
 
@@ -160,7 +158,6 @@ class CollectionSerializer(serializers.Serializer): # pylint: disable=abstract-
160
158
  title = serializers.CharField(required=True)
161
159
  key = serializers.CharField(required=True)
162
160
  description = serializers.CharField(required=True, allow_blank=True)
163
- created_by = serializers.IntegerField(required=True, allow_null=True)
164
161
  entities = serializers.ListField(
165
162
  child=serializers.CharField(),
166
163
  required=True,
@@ -508,6 +508,7 @@ class LearningPackageUnzipper:
508
508
  def __init__(self, zipf: zipfile.ZipFile, key: str | None = None, user: UserType | None = None):
509
509
  self.zipf = zipf
510
510
  self.user = user
511
+ self.user_id = getattr(self.user, "id", None)
511
512
  self.lp_key = key # If provided, use this key for the restored learning package
512
513
  self.learning_package_id: int | None = None # Will be set upon restoration
513
514
  self.utc_now: datetime = datetime.now(timezone.utc)
@@ -771,7 +772,9 @@ class LearningPackageUnzipper:
771
772
  """Save collections and their entities."""
772
773
  for valid_collection in collections.get("collections", []):
773
774
  entities = valid_collection.pop("entities", [])
774
- collection = collections_api.create_collection(learning_package.id, **valid_collection)
775
+ collection = collections_api.create_collection(
776
+ learning_package.id, created_by=self.user_id, **valid_collection
777
+ )
775
778
  collection = collections_api.add_to_collection(
776
779
  learning_package_id=learning_package.id,
777
780
  key=collection.key,
@@ -782,7 +785,7 @@ class LearningPackageUnzipper:
782
785
  """Save components and published component versions."""
783
786
  for valid_component in components.get("components", []):
784
787
  entity_key = valid_component.pop("key")
785
- component = components_api.create_component(learning_package.id, **valid_component)
788
+ component = components_api.create_component(learning_package.id, created_by=self.user_id, **valid_component)
786
789
  self.components_map_by_key[entity_key] = component
787
790
 
788
791
  for valid_published in components.get("components_published", []):
@@ -796,6 +799,7 @@ class LearningPackageUnzipper:
796
799
  self.components_map_by_key[entity_key].publishable_entity.id,
797
800
  content_to_replace=content_to_replace,
798
801
  force_version_num=valid_published.pop("version_num", None),
802
+ created_by=self.user_id,
799
803
  **valid_published
800
804
  )
801
805
 
@@ -803,7 +807,7 @@ class LearningPackageUnzipper:
803
807
  """Save units and published unit versions."""
804
808
  for valid_unit in containers.get("unit", []):
805
809
  entity_key = valid_unit.get("key")
806
- unit = units_api.create_unit(learning_package.id, **valid_unit)
810
+ unit = units_api.create_unit(learning_package.id, created_by=self.user_id, **valid_unit)
807
811
  self.units_map_by_key[entity_key] = unit
808
812
 
809
813
  for valid_published in containers.get("unit_published", []):
@@ -816,6 +820,7 @@ class LearningPackageUnzipper:
816
820
  self.units_map_by_key[entity_key],
817
821
  force_version_num=valid_published.pop("version_num", None),
818
822
  components=children,
823
+ created_by=self.user_id,
819
824
  **valid_published
820
825
  )
821
826
 
@@ -823,7 +828,9 @@ class LearningPackageUnzipper:
823
828
  """Save subsections and published subsection versions."""
824
829
  for valid_subsection in containers.get("subsection", []):
825
830
  entity_key = valid_subsection.get("key")
826
- subsection = subsections_api.create_subsection(learning_package.id, **valid_subsection)
831
+ subsection = subsections_api.create_subsection(
832
+ learning_package.id, created_by=self.user_id, **valid_subsection
833
+ )
827
834
  self.subsections_map_by_key[entity_key] = subsection
828
835
 
829
836
  for valid_published in containers.get("subsection_published", []):
@@ -836,6 +843,7 @@ class LearningPackageUnzipper:
836
843
  self.subsections_map_by_key[entity_key],
837
844
  units=children,
838
845
  force_version_num=valid_published.pop("version_num", None),
846
+ created_by=self.user_id,
839
847
  **valid_published
840
848
  )
841
849
 
@@ -843,7 +851,7 @@ class LearningPackageUnzipper:
843
851
  """Save sections and published section versions."""
844
852
  for valid_section in containers.get("section", []):
845
853
  entity_key = valid_section.get("key")
846
- section = sections_api.create_section(learning_package.id, **valid_section)
854
+ section = sections_api.create_section(learning_package.id, created_by=self.user_id, **valid_section)
847
855
  self.sections_map_by_key[entity_key] = section
848
856
 
849
857
  for valid_published in containers.get("section_published", []):
@@ -856,6 +864,7 @@ class LearningPackageUnzipper:
856
864
  self.sections_map_by_key[entity_key],
857
865
  subsections=children,
858
866
  force_version_num=valid_published.pop("version_num", None),
867
+ created_by=self.user_id,
859
868
  **valid_published
860
869
  )
861
870
 
@@ -874,6 +883,7 @@ class LearningPackageUnzipper:
874
883
  # Drafts can diverge from published, so we allow ignoring previous content
875
884
  # Use case: published v1 had files A, B; draft v2 only has file A
876
885
  ignore_previous_content=True,
886
+ created_by=self.user_id,
877
887
  **valid_draft
878
888
  )
879
889
 
@@ -887,6 +897,7 @@ class LearningPackageUnzipper:
887
897
  self.units_map_by_key[entity_key],
888
898
  components=children,
889
899
  force_version_num=valid_draft.pop("version_num", None),
900
+ created_by=self.user_id,
890
901
  **valid_draft
891
902
  )
892
903
 
@@ -900,6 +911,7 @@ class LearningPackageUnzipper:
900
911
  self.subsections_map_by_key[entity_key],
901
912
  units=children,
902
913
  force_version_num=valid_draft.pop("version_num", None),
914
+ created_by=self.user_id,
903
915
  **valid_draft
904
916
  )
905
917
 
@@ -913,6 +925,7 @@ class LearningPackageUnzipper:
913
925
  self.sections_map_by_key[entity_key],
914
926
  subsections=children,
915
927
  force_version_num=valid_draft.pop("version_num", None),
928
+ created_by=self.user_id,
916
929
  **valid_draft
917
930
  )
918
931
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: openedx-learning
3
- Version: 0.30.1
3
+ Version: 0.30.2
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,12 +19,12 @@ 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: tomlkit
22
+ Requires-Dist: attrs
23
23
  Requires-Dist: djangorestframework<4.0
24
+ Requires-Dist: edx-drf-extensions
25
+ Requires-Dist: tomlkit
24
26
  Requires-Dist: celery
25
27
  Requires-Dist: Django
26
- Requires-Dist: attrs
27
- Requires-Dist: edx-drf-extensions
28
28
  Requires-Dist: rules<4.0
29
29
  Dynamic: author
30
30
  Dynamic: author-email
@@ -1,7 +1,7 @@
1
- tomlkit
1
+ attrs
2
2
  djangorestframework<4.0
3
+ edx-drf-extensions
4
+ tomlkit
3
5
  celery
4
6
  Django
5
- attrs
6
- edx-drf-extensions
7
7
  rules<4.0