Skip to content

Commit 75ca9fe

Browse files
committed
wip(search): delete unsued old models and all models into __init__.py
1 parent 8d9eff7 commit 75ca9fe

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

src/basalam_sdk/search/models.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,11 @@
11
"""
22
Models for the Search service API.
33
"""
4-
from typing import List, Optional, Union
4+
from typing import Optional
55

66
from pydantic import BaseModel
77

88

9-
class ValidationError(BaseModel):
10-
"""Validation error model."""
11-
loc: List[Union[str, int]]
12-
msg: str
13-
type: str
14-
15-
16-
class HTTPValidationError(BaseModel):
17-
"""HTTP validation error model."""
18-
detail: List[ValidationError]
19-
20-
219
class FiltersModel(BaseModel):
2210
"""Filters model for product search."""
2311
freeShipping: Optional[int] = None

0 commit comments

Comments
 (0)