openedx-learning 0.3.4__py2.py3-none-any.whl → 0.3.5__py2.py3-none-any.whl

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.
@@ -1,4 +1,4 @@
1
1
  """
2
2
  Open edX Learning ("Learning Core").
3
3
  """
4
- __version__ = "0.3.4"
4
+ __version__ = "0.3.5"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: openedx-learning
3
- Version: 0.3.4
3
+ Version: 0.3.5
4
4
  Summary: An experiment.
5
5
  Home-page: https://github.com/openedx/openedx-learning
6
6
  Author: David Ormsbee
@@ -17,12 +17,12 @@ Classifier: Natural Language :: English
17
17
  Classifier: Programming Language :: Python :: 3
18
18
  Classifier: Programming Language :: Python :: 3.8
19
19
  Requires-Python: >=3.8
20
- Requires-Dist: rules (<4.0)
21
20
  Requires-Dist: djangorestframework (<4.0)
22
21
  Requires-Dist: celery
22
+ Requires-Dist: rules (<4.0)
23
+ Requires-Dist: Django (<5.0)
23
24
  Requires-Dist: edx-drf-extensions
24
25
  Requires-Dist: attrs
25
- Requires-Dist: Django (<5.0)
26
26
 
27
27
  openedx-learning
28
28
  =============================
@@ -210,9 +210,10 @@ Change Log
210
210
  Unreleased
211
211
  ~~~~~~~~~~
212
212
 
213
+ * Removed usage of ``tox-battery`` and added support for ``tox 4.0``
213
214
  * Switch from ``edx-sphinx-theme`` to ``sphinx-book-theme`` since the former is
214
215
  deprecated. See https://github.com/openedx/edx-sphinx-theme/issues/184 for
215
- more details.
216
+ more details.
216
217
 
217
218
  [0.1.0] - 2021-08-08
218
219
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -1,4 +1,4 @@
1
- openedx_learning/__init__.py,sha256=oYsvUwYk9wyylvd4sq-CxaO8jbOGXelqgiyrtUuVm_Y,67
1
+ openedx_learning/__init__.py,sha256=Ho0NTFgVeG0pxXs5miy44Bt4snnD-dyzeE4yKvRL1bE,67
2
2
  openedx_learning/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  openedx_learning/contrib/media_server/__init__.py,sha256=iYijWFCl5RNR9omSu22kMl49EfponoqXBqXr0HMp4QI,56
4
4
  openedx_learning/contrib/media_server/apps.py,sha256=FPT0rsUFtPyhFpWKjSI1e_s58wU0IbDyaAW_66V6sY4,816
@@ -87,10 +87,10 @@ openedx_tagging/core/tagging/rest_api/v1/permissions.py,sha256=FeSulmsFD7wAAuYpx
87
87
  openedx_tagging/core/tagging/rest_api/v1/serializers.py,sha256=HMDWJ--VoRx1KfmCIRdjHsz8yNUHDYT3BoxsU_kZbiY,8558
88
88
  openedx_tagging/core/tagging/rest_api/v1/urls.py,sha256=dNUKCtUCx_YzrwlbEbpDfjGVQbb2QdJ1VuJCkladj6E,752
89
89
  openedx_tagging/core/tagging/rest_api/v1/utils.py,sha256=PR8ERgXaL4_r9kiOLpOSgGdtK7oA6jIP74ej2gDWCUs,822
90
- openedx_tagging/core/tagging/rest_api/v1/views.py,sha256=fCu9MR6UwuOr1glq1AJVUOqmwvdSAr2BsQRVl8UEvS4,28583
90
+ openedx_tagging/core/tagging/rest_api/v1/views.py,sha256=MixTy8JSnJ6-F6Km-udNDh-SY6IKcijGILP7Q3aWCvc,28636
91
91
  openedx_tagging/core/tagging/rest_api/v1/views_import.py,sha256=kbHUPe5A6WaaJ3J1lFIcYCt876ecLNQfd19m7YYub6c,1470
92
- openedx_learning-0.3.4.dist-info/LICENSE.txt,sha256=QTW2QN7q3XszgUAXm9Dzgtu5LXYKbR1SGnqMa7ufEuY,35139
93
- openedx_learning-0.3.4.dist-info/METADATA,sha256=mkcUnjFcY6tS4mQxp7JH6ddhInWy3QK-x18ZOxGtKXw,8687
94
- openedx_learning-0.3.4.dist-info/WHEEL,sha256=Z-nyYpwrcSqxfdux5Mbn_DQ525iP7J2DG3JgGvOYyTQ,110
95
- openedx_learning-0.3.4.dist-info/top_level.txt,sha256=IYFbr5mgiEHd-LOtZmXj3q3a0bkGK1M9LY7GXgnfi4M,33
96
- openedx_learning-0.3.4.dist-info/RECORD,,
92
+ openedx_learning-0.3.5.dist-info/LICENSE.txt,sha256=QTW2QN7q3XszgUAXm9Dzgtu5LXYKbR1SGnqMa7ufEuY,35139
93
+ openedx_learning-0.3.5.dist-info/METADATA,sha256=Fs4z5Sc1ZxmTxQSamHeACYCb1JjoQx9V8ecsI2RjXPo,8758
94
+ openedx_learning-0.3.5.dist-info/WHEEL,sha256=Z-nyYpwrcSqxfdux5Mbn_DQ525iP7J2DG3JgGvOYyTQ,110
95
+ openedx_learning-0.3.5.dist-info/top_level.txt,sha256=IYFbr5mgiEHd-LOtZmXj3q3a0bkGK1M9LY7GXgnfi4M,33
96
+ openedx_learning-0.3.5.dist-info/RECORD,,
@@ -294,7 +294,8 @@ class TaxonomyView(ModelViewSet):
294
294
  @action(detail=True, url_path="tags/import", methods=["put"])
295
295
  def update_import(self, request: Request, **_kwargs) -> Response:
296
296
  """
297
- Imports tags from the uploaded file to an already created taxonomy.
297
+ Imports tags from the uploaded file to an already created taxonomy,
298
+ overwriting any existing tags.
298
299
  """
299
300
  body = TaxonomyImportBodySerializer(data=request.data)
300
301
  body.is_valid(raise_exception=True)
@@ -304,7 +305,7 @@ class TaxonomyView(ModelViewSet):
304
305
 
305
306
  taxonomy = self.get_object()
306
307
  try:
307
- import_success = import_tags(taxonomy, file, parser_format)
308
+ import_success = import_tags(taxonomy, file, parser_format, replace=True)
308
309
 
309
310
  if import_success:
310
311
  serializer = self.get_serializer(taxonomy)