first commit
This commit is contained in:
1
models/__init__.py
Normal file
1
models/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# This file is intentionally left blank.
|
||||
13
models/excel_models.py
Normal file
13
models/excel_models.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from pydantic import BaseModel
|
||||
from typing import List, Dict, Any
|
||||
|
||||
class Cell(BaseModel):
|
||||
value: str
|
||||
format: Dict[str, Any]
|
||||
|
||||
class Sheet(BaseModel):
|
||||
name: str
|
||||
cells: List[List[Cell]]
|
||||
|
||||
class ExcelFile(BaseModel):
|
||||
sheets: List[Sheet]
|
||||
Reference in New Issue
Block a user