tree: 53bb2491fb1b921646ad1778409a2887c6c990ed [path history] [tgz]
  1. go/
  2. Makefile
  3. README.md
  4. _fill_init_py.py
  5. luci-go.revision
python_pb2/README.md

Compiled protobufs for Python

This dir contains generated protos for Python for infra & infra_internal repo.

Regenerate

make

Assumption: you are doing this in infra gclient checkout (get it via fetch infra).

Use

Ensure this dir is in your PYTHONPATH or sys.path or via infra.init_python_pb2 module. For example,

from infra import init_python_pb2  # pylint: disable=unused-import
from go.chromium.org.luci.buildbucket.proto import build_pb2
build = build_pb2.Build(...)