MCPcopy Create free account
hub / github.com/apache/fory / Media

Class Media

benchmarks/python/benchmark.py:191–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189
190@dataclass
191class Media:
192 uri: str = pyfory.field(id=1)
193 title: str = pyfory.field(id=2)
194 width: pyfory.Int32 = pyfory.field(id=3)
195 height: pyfory.Int32 = pyfory.field(id=4)
196 format: str = pyfory.field(id=5)
197 duration: pyfory.Int64 = pyfory.field(id=6)
198 size: pyfory.Int64 = pyfory.field(id=7)
199 bitrate: pyfory.Int32 = pyfory.field(id=8)
200 has_bitrate: bool = pyfory.field(id=9)
201 persons: List[str] = pyfory.field(id=10)
202 player: Player = pyfory.field(id=11)
203 copyright: str = pyfory.field(id=12)
204
205
206@dataclass

Callers 2

create_media_contentFunction · 0.70
from_pb_mediaFunction · 0.70

Calls 1

fieldMethod · 0.65

Tested by

no test coverage detected