Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="vika",
version="1.0.10",
version="1.0.11",
author="vikadata",
author_email="dev@vikadata.com",
description="维格表官方 Python SDK",
Expand Down
5 changes: 4 additions & 1 deletion vika/types/view.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from enum import Enum
from typing import Optional

from pydantic import BaseModel

Expand All @@ -8,9 +9,11 @@ class ViewTypeEnum(str, Enum):
Gallery = 'Gallery'
Kanban = 'Kanban'
Gantt = 'Gantt'
Calendar = 'Calendar'
Architecture = 'Architecture'


class MetaView(BaseModel):
id: str
name: str
type: ViewTypeEnum
type: Optional[ViewTypeEnum]