add effective_slug to TrackablePositionSchema
This commit is contained in:
parent
94dc9af7e6
commit
12a0db43e7
1 changed files with 4 additions and 0 deletions
|
@ -601,6 +601,10 @@ class TrackablePositionSchema(BaseSchema):
|
||||||
description="slug representing the position",
|
description="slug representing the position",
|
||||||
example="p:adskjfalskdj",
|
example="p:adskjfalskdj",
|
||||||
)
|
)
|
||||||
|
effective_slug: PositionID = APIField(
|
||||||
|
description="slug representing the position",
|
||||||
|
example="p:adskjfalskdj",
|
||||||
|
)
|
||||||
icon: Optional[NonEmptyStr] = APIField( # todo: not optional?
|
icon: Optional[NonEmptyStr] = APIField( # todo: not optional?
|
||||||
title="set icon name",
|
title="set icon name",
|
||||||
description="icon as set in the location specifically (any material design icon name)",
|
description="icon as set in the location specifically (any material design icon name)",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue