feat: メニューの型を厳密化
This commit is contained in:
parent
cd3567d7f7
commit
c5f80ca9ec
@ -1,5 +1,3 @@
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
from src.model.view.user_view_model import UserViewModel
|
||||
@ -8,8 +6,8 @@ from src.system_var import constants
|
||||
|
||||
class MenuViewModel(BaseModel):
|
||||
subtitle: str = 'MeDaCA 機能メニュー'
|
||||
batch_status: Optional[str]
|
||||
dump_status: Optional[str]
|
||||
batch_status: str
|
||||
dump_status: str
|
||||
user_model: UserViewModel
|
||||
|
||||
def is_batch_processing(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user