mirror of
https://github.com/cssgunc/compass.git
synced 2025-04-10 06:10:17 -04:00
Changes made thanks to blake reviews
This commit is contained in:
parent
90ce1e2ed1
commit
31d0d89a8a
|
@ -4,6 +4,7 @@ from typing import List
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
from .enum_for_models import ProgramTypeEnum
|
from .enum_for_models import ProgramTypeEnum
|
||||||
|
from .resource_model import Resource
|
||||||
|
|
||||||
|
|
||||||
class Resource(BaseModel):
|
class Resource(BaseModel):
|
||||||
|
|
|
@ -6,7 +6,7 @@ from typing import Optional
|
||||||
|
|
||||||
|
|
||||||
class Tag(BaseModel):
|
class Tag(BaseModel):
|
||||||
id: int
|
id: int | None = None
|
||||||
content: str = Field(
|
content: str = Field(
|
||||||
..., max_length=600, description="content associated with the tag"
|
..., max_length=600, description="content associated with the tag"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user