From 130b69ad2558e64fc602d8ed3bd61baa3fac79af Mon Sep 17 00:00:00 2001 From: Moishe Lettvin Date: Thu, 21 Mar 2024 07:36:52 -0400 Subject: [PATCH] autopep8 fixes --- src/dailyai/pipeline/frames.py | 1 + src/dailyai/pipeline/protobufs/frames_pb2.py | 20 +++++++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/dailyai/pipeline/frames.py b/src/dailyai/pipeline/frames.py index 57694cb92..d0ebcce00 100644 --- a/src/dailyai/pipeline/frames.py +++ b/src/dailyai/pipeline/frames.py @@ -16,6 +16,7 @@ def to_proto(self): def from_proto(proto): raise NotImplementedError + class ControlFrame(Frame): # Control frames should contain no instance data, so # equality is based solely on the class. diff --git a/src/dailyai/pipeline/protobufs/frames_pb2.py b/src/dailyai/pipeline/protobufs/frames_pb2.py index fb4c2301c..b923f8fe3 100644 --- a/src/dailyai/pipeline/protobufs/frames_pb2.py +++ b/src/dailyai/pipeline/protobufs/frames_pb2.py @@ -12,21 +12,19 @@ _sym_db = _symbol_database.Default() - - DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x66rames.proto\x12\rdailyai_proto\"\x19\n\tTextFrame\x12\x0c\n\x04text\x18\x01 \x01(\t\"\x1b\n\nAudioFrame\x12\r\n\x05\x61udio\x18\x01 \x01(\x0c\"M\n\x12TranscriptionFrame\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x16\n\x0eparticipant_id\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\t\"\xa2\x01\n\x05\x46rame\x12(\n\x04text\x18\x01 \x01(\x0b\x32\x18.dailyai_proto.TextFrameH\x00\x12*\n\x05\x61udio\x18\x02 \x01(\x0b\x32\x19.dailyai_proto.AudioFrameH\x00\x12:\n\rtranscription\x18\x03 \x01(\x0b\x32!.dailyai_proto.TranscriptionFrameH\x00\x42\x07\n\x05\x66rameb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'frames_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - _globals['_TEXTFRAME']._serialized_start=31 - _globals['_TEXTFRAME']._serialized_end=56 - _globals['_AUDIOFRAME']._serialized_start=58 - _globals['_AUDIOFRAME']._serialized_end=85 - _globals['_TRANSCRIPTIONFRAME']._serialized_start=87 - _globals['_TRANSCRIPTIONFRAME']._serialized_end=164 - _globals['_FRAME']._serialized_start=167 - _globals['_FRAME']._serialized_end=329 + DESCRIPTOR._options = None + _globals['_TEXTFRAME']._serialized_start = 31 + _globals['_TEXTFRAME']._serialized_end = 56 + _globals['_AUDIOFRAME']._serialized_start = 58 + _globals['_AUDIOFRAME']._serialized_end = 85 + _globals['_TRANSCRIPTIONFRAME']._serialized_start = 87 + _globals['_TRANSCRIPTIONFRAME']._serialized_end = 164 + _globals['_FRAME']._serialized_start = 167 + _globals['_FRAME']._serialized_end = 329 # @@protoc_insertion_point(module_scope)