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",
|
title="name",
|
||||||
description="name/filename of the source",
|
description="name/filename of the source",
|
||||||
)
|
)
|
||||||
bottom: float
|
bounds: tuple[
|
||||||
left: float
|
Annotated[float, APIField(name="left")],
|
||||||
top: float
|
Annotated[float, APIField(name="bottom")],
|
||||||
right: float
|
Annotated[float, APIField(name="right")],
|
||||||
|
Annotated[float, APIField(name="top")],
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
class AccessRestrictionSchema(TitledSchema, DjangoModelSchema):
|
class AccessRestrictionSchema(TitledSchema, DjangoModelSchema):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue