fix SourceSchema
This commit is contained in:
parent
f7f77b2823
commit
635b9ab406
1 changed files with 6 additions and 4 deletions
|
@ -301,10 +301,12 @@ class SourceSchema(WithAccessRestrictionSchema, DjangoModelSchema):
|
|||
title="name",
|
||||
description="name/filename of the source",
|
||||
)
|
||||
bottom: float
|
||||
left: float
|
||||
top: float
|
||||
right: float
|
||||
bounds: tuple[
|
||||
Annotated[float, APIField(name="left")],
|
||||
Annotated[float, APIField(name="bottom")],
|
||||
Annotated[float, APIField(name="right")],
|
||||
Annotated[float, APIField(name="top")],
|
||||
]
|
||||
|
||||
|
||||
class AccessRestrictionSchema(TitledSchema, DjangoModelSchema):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue