Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

Broken import in Python generated code #8

@baely

Description

@baely

pb file is generated with line import sreeify_pb2 as sreeify__pb2 which relative import is broken on. Current workaround is to manually change file to match below:

from . import sreeify_pb2 as sreeify__pb2

Pretty sure the solution is a flag in buf.gen.yaml, something about relative import

Acceptance criteria

WHEN I generate code with buf generate protos
AND I run sreeifier as a containerised image eg. docker compose up --build sreeifier
THEN it should run without modification to generated files

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions