Files
lightning/contrib/pyln-grpc-proto/pyln/grpc/__init__.py
Christian Decker 6583f0dead pyln: Create a dedicated pyln-grpc-proto package
Having the grpc bindings in the pyln-testing package was always a bit
strange, however it came with additional issues. Due to the way that
protos are handled by protobuf, any name clash, independently of where
we import the protos, would cause an import error. This usually
happens in diamond-pattern dependencies, and so pull out the generated
files into their own package that everyone else can rely on.

Changelog-None
2023-07-10 13:47:38 +09:30

4 lines
167 B
Python

from pyln.grpc.primitives_pb2 import * # noqa: F401,F403
from pyln.grpc.node_pb2 import * # noqa: F401,F403
from pyln.grpc.node_pb2_grpc import * # noqa: F401,F403