Skip to content
Snippets Groups Projects

Retrieve transcriptions from local cache in list_transcriptions

Merged Eva Bardou requested to merge retrieve-cached-transcriptions into master
All threads resolved!
1 file
+ 6
10
Compare changes
  • Side-by-side
  • Inline
@@ -27,22 +27,18 @@ TRANSCRIPTIONS_SAMPLE = [
]
TRANSCRIPTIONS_TO_INSERT = [
CachedTranscription(
id=convert_str_uuid_to_hex("11111111-1111-1111-1111-111111111111"),
element_id=convert_str_uuid_to_hex("12341234-1234-1234-1234-123412341234"),
id=UUID("11111111-1111-1111-1111-111111111111"),
element_id=UUID("12341234-1234-1234-1234-123412341234"),
text="Hello!",
confidence=0.42,
worker_version_id=convert_str_uuid_to_hex(
"56785678-5678-5678-5678-567856785678"
),
worker_version_id=UUID("56785678-5678-5678-5678-567856785678"),
),
CachedTranscription(
id=convert_str_uuid_to_hex("22222222-2222-2222-2222-222222222222"),
element_id=convert_str_uuid_to_hex("12341234-1234-1234-1234-123412341234"),
id=UUID("22222222-2222-2222-2222-222222222222"),
element_id=UUID("12341234-1234-1234-1234-123412341234"),
text="How are you?",
confidence=0.42,
worker_version_id=convert_str_uuid_to_hex(
"90129012-9012-9012-9012-901290129012"
),
worker_version_id=UUID("90129012-9012-9012-9012-901290129012"),
),
]
Loading