danielgtaylor / python-betterproto

Clean, modern, Python 3.6+ code generator & library for Protobuf 3 and async gRPC
MIT License
1.5k stars 211 forks source link

Complex protos w/ Enums? #547

Closed isaackogan closed 9 months ago

isaackogan commented 9 months ago

The project works with simple protos on latest branch, but with my whole proto, I find it only makes an init.py and attempts to import nonexistent files that it never made.

I was wondering if this behaviour has been seen before, and if I can do something to remedy it.

image

Full Proto: https://pastebin.com/WHRL0qfA

isaackogan commented 9 months ago

Okay, sleep deprivation got to me. For anyone else that runs into this...if you set a proto package.... expect it to be treated as a package.

isaackogan commented 9 months ago

I'm wondering what the behaviour is for packages & how I should use the lib with them, though :P