From 416f0f50cb14c4bf9be238a2c12a4b319a5583a3 Mon Sep 17 00:00:00 2001 From: Braden MacDonald Date: Thu, 5 Oct 2023 19:14:05 -0700 Subject: [PATCH] fix: consistency fix from PR review --- openedx_tagging/core/tagging/api.py | 2 +- openedx_tagging/core/tagging/rest_api/v1/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openedx_tagging/core/tagging/api.py b/openedx_tagging/core/tagging/api.py index a9cd7ea6..f8106590 100644 --- a/openedx_tagging/core/tagging/api.py +++ b/openedx_tagging/core/tagging/api.py @@ -26,7 +26,7 @@ def create_taxonomy( name: str, description: str | None = None, enabled=True, - allow_multiple=False, + allow_multiple=True, allow_free_text=False, taxonomy_class: type[Taxonomy] | None = None, ) -> Taxonomy: diff --git a/openedx_tagging/core/tagging/rest_api/v1/views.py b/openedx_tagging/core/tagging/rest_api/v1/views.py index 1eadcfcb..26fcad57 100644 --- a/openedx_tagging/core/tagging/rest_api/v1/views.py +++ b/openedx_tagging/core/tagging/rest_api/v1/views.py @@ -79,7 +79,7 @@ class TaxonomyView(ModelViewSet): * enabled (optional): Only enabled taxonomies will be shown to authors (default: true). * allow_multiple (optional): Indicates that multiple tags from this - taxonomy may be added to an object (default: False). + taxonomy may be added to an object (default: True). * allow_free_text (optional): Indicates that tags in this taxonomy need not be predefined; authors may enter their own tag values (default: False).