We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea0bcfa commit 7a7dd76Copy full SHA for 7a7dd76
livekit-protocol/generate_proto.sh
@@ -100,5 +100,7 @@ perl -i -pe 's|livekit_(\w+)_pb2|${1}|g' "$API_OUT_PYTHON"/**.py "$API_OUT_PYTHO
100
101
perl -i -pe 's|from logger import options_pb2 as ([^ ]+)|from .logger_pb import options as $1|g' "$API_OUT_PYTHON"/**.py "$API_OUT_PYTHON"/**.pyi
102
103
+perl -i -pe 's|from agent import livekit_agent_(\w+)_pb2 as ([^ ]+)|from . import agent_$1 as $2|g' "$API_OUT_PYTHON"/agent_pb/*.py "$API_OUT_PYTHON"/agent_pb/*.pyi
104
+
105
# fixes - error: ClassVar can only be used for assignments in class body [misc]
106
perl -i -pe 's|^(\w+_FIELD_NUMBER): _ClassVar\[int\]|$1: int|g' "$API_OUT_PYTHON/logger_pb/options.pyi"
0 commit comments