I think there's some issue with the CLI.
I did the following:
Traceback (most recent call last):
File "/Users/my_user/repos/tmp/.venv/bin/pb2py", line 5, in <module>
from protobuf2pydantic.main import app
File "/Users/my_user/repos/tmp/.venv/lib/python3.9/site-packages/protobuf2pydantic/__init__.py", line 11, in <module>
from protobuf2pydantic.biz import msg2pydantic
File "/Users/my_user/repos/tmp/.venv/lib/python3.9/site-packages/protobuf2pydantic/biz.py", line 64, in <module>
def convert_field(level: int, field: FieldDescriptor) -> str | None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'