Skip to content

Commit

Permalink
removed some unnecessary attribute from DataStream and AttachmentStre…
Browse files Browse the repository at this point in the history
…am of ffpobe-model
  • Loading branch information
Barakudum committed Nov 7, 2024
1 parent 061c107 commit 5dac790
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/jarklin/common/ffprobe/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,20 +136,12 @@ def parse_fractions(cls, v: str) -> Fraction:

class DataStream(pydantic.BaseModel):
index: int
codec_name: str
codec_long_name: str
codec_type: t.Literal['data']
codec_tag_string: str
codec_tag: str


class AttachmentStream(pydantic.BaseModel):
index: int
codec_name: str
codec_long_name: str
codec_type: t.Literal['attachment']
codec_tag_string: str
codec_tag: str


class Chapter(pydantic.BaseModel, arbitrary_types_allowed=True):
Expand Down

0 comments on commit 5dac790

Please sign in to comment.