Skip to content

Generate __init__.py files in py/ mirror proto/ #394

@Marenz

Description

@Marenz

When generating the python files from proto files, protobuf is not creating missing __init__.py files, so nested modules are not considered proper Python modules/packages.

During the generation we could check for any missing __init__.py files and automatically generate them as part of the generation process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:only-apiAffects the configuration of a api repopart:protobufAffects the protobuf toolspriority:highAddress this as soon as possibletype:enhancementNew feature or enhancement visitble to users

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions