refactor(schemas): update contact import path and clean up __init__.py to resolve circular import error
This commit is contained in:
parent
1d78c6b46b
commit
eba9c6a137
2 changed files with 1 additions and 3 deletions
|
|
@ -1,9 +1,7 @@
|
||||||
from schemas.tiers.tiers import (TiersDetails,)
|
from schemas.tiers.tiers import (TiersDetails,)
|
||||||
from schemas.tiers.type_tiers import (TypeTiers,)
|
from schemas.tiers.type_tiers import (TypeTiers,)
|
||||||
from schemas.tiers.contact import (Contact,)
|
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"TiersDetails",
|
"TiersDetails",
|
||||||
"Contact",
|
|
||||||
"TypeTiers",
|
"TypeTiers",
|
||||||
]
|
]
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
from typing import List, Optional
|
from typing import List, Optional
|
||||||
from pydantic import BaseModel, Field
|
from pydantic import BaseModel, Field
|
||||||
from schemas import Contact
|
from schemas.tiers.contact import Contact
|
||||||
|
|
||||||
class TiersDetails(BaseModel):
|
class TiersDetails(BaseModel):
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue