Adding scope import
This commit is contained in:
1 parent
cda15df2ed
commit
69cbfa2d3f
18 files changed
+1165
-3
No files matched your search
@@ -0,0 +1,17 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class ScopeImportRowResult(BaseModel):
|
||||
row: int
|
||||
product_number: str | None = None
|
||||
status: str # "created" | "updated" | "skipped" | "error"
|
||||
messages: list[str] = []
|
||||
|
||||
|
||||
class ScopeImportResult(BaseModel):
|
||||
created: int
|
||||
updated: int
|
||||
skipped: int
|
||||
errors: int
|
||||
total: int
|
||||
rows: list[ScopeImportRowResult] = []
|
||||
Reference in new issue
Block a user