高宇轩 a3d8a31039 replace active HTH surface with 6400 manual transports há 3 meses atrás
..
hth a3d8a31039 replace active HTH surface with 6400 manual transports há 3 meses atrás
thermal a3d8a31039 replace active HTH surface with 6400 manual transports há 3 meses atrás
README.md a3d8a31039 replace active HTH surface with 6400 manual transports há 3 meses atrás
__init__.py a3d8a31039 replace active HTH surface with 6400 manual transports há 3 meses atrás

README.md

Generated protobuf stubs

Do not edit these files by hand.

Regenerate from the repository proto:

# from host/
python3 tools/gen_python_stubs.py

or:

python3 -m grpc_tools.protoc \
  -I ../../api/proto \
  --python_out=hth_sdk/generated \
  --grpc_python_out=hth_sdk/generated \
  ../../api/proto/hth/api/v1/hth.proto

Then rewrite from hth.api.v1 import ... to from hth_sdk.generated.hth.api.v1 import ... (the generator script does this).

The SDK still imports and type-checks without stubs for builders and exceptions. HthClient (real Unix-socket gRPC) requires generated stubs.