MCPcopy Create free account
hub / github.com/chinobing/FastAPI-PaddleSpeech-Audio-To-Text / get_audio_segment_data

Function get_audio_segment_data

pstext/crud.py:15–16  ·  view source on GitHub ↗
(db:Session, audio_id: int)

Source from the content-addressed store, hash-verified

13 db.close()
14
15def get_audio_segment_data(db:Session, audio_id: int):
16 return db.query(models.Data).filter(models.Data.audio_id == audio_id).all()
17
18def get_audio_by_title(db:Session, title: str):
19 return db.query(models.Audio).filter(models.Audio.title == title).first()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected