From 09fc5adc1230bef8a766da186c8cf92b25437e4c Mon Sep 17 00:00:00 2001 From: seigo Date: Mon, 6 May 2024 12:37:01 +0900 Subject: [PATCH] =?UTF-8?q?type=E3=82=92=E6=9B=B4=E6=96=B0=E3=81=A7?= =?UTF-8?q?=E3=81=8D=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/schemas.py b/app/schemas.py index 764c6b1..e916bae 100644 --- a/app/schemas.py +++ b/app/schemas.py @@ -83,12 +83,12 @@ class GroupUpdate(BaseModel): private_page_content_url:Union[str,None] = Query(default=None,max_length=200) floor:Union[int,None] = Query(default=None) #何階か place:Union[str,None] = Query(default=None, max_length=200) #場所 + type:GroupType # クラス劇・Hebe・部活動などの情報 class GroupBase(GroupUpdate):#userdefined idをURLにする。groupnameは表示名 id:str=Query(regex="^[a-zA-Z0-9_\-.]{3,16}$",min_length=3,max_length=16) groupname:str = Query(max_length=200) enable_vote:bool = True - type:GroupType # クラス劇・Hebe・部活動などの情報 class GroupCreate(GroupBase): class Config: