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