feat: add initial support for positioning
Signed-off-by: Konstantin Fickel <mail@konstantinfickel.de>
This commit is contained in:
parent
28dc40ebf0
commit
0c61067db0
9 changed files with 186 additions and 3 deletions
|
|
@ -1,5 +1,4 @@
|
|||
from __future__ import annotations
|
||||
from typing import Optional
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
|
|
@ -13,7 +12,7 @@ class Shard(BaseModel):
|
|||
|
||||
class StreamFile(BaseModel):
|
||||
filename: str
|
||||
shard: Optional[Shard] = None
|
||||
shard: Shard = None
|
||||
|
||||
|
||||
__all__ = ["Shard", "StreamFile"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue