mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-04-23 00:06:38 +00:00
abc26d5c20
docs -> _docs
17 lines
297 B
Python
17 lines
297 B
Python
from typing import Optional
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class BatchMetadata(BaseModel):
|
|
start_sequence: int
|
|
end_sequence: int
|
|
batch_number: int
|
|
|
|
|
|
class BatchResponse(BaseModel):
|
|
accepted: bool
|
|
sequences: list[int]
|
|
next_expected: int
|
|
message: Optional[str] = None
|
|
|