Skip to content

[Python] Add relative import option - #9214

Open
satur9nine wants to merge 1 commit into
google:masterfrom
satur9nine:relative-python-import-feat
Open

[Python] Add relative import option#9214
satur9nine wants to merge 1 commit into
google:masterfrom
satur9nine:relative-python-import-feat

Conversation

@satur9nine

Copy link
Copy Markdown
Contributor

Adds --python-relative-imports option to generate python import statements. For example, Transit.Three.Header referencing Transit.One.Info becomes from ..One import Info, avoiding reliance on an absolute package name.

Adds --python-relative-imports option to generate python import
statements. For example, Transit.Three.Header referencing Transit.One.Info
becomes from ..One import Info, avoiding reliance on an absolute package
name.
@github-actions github-actions Bot added python c++ codegen Involving generating code from schema labels Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ codegen Involving generating code from schema python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant