OpenAPITools / OpenAPITools/openapi-generator

[REQ] [Python] Python generated code missing `__all__` statements to indicate module exports

Open
#17,152 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement: Feature
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Python generated code is missing __all__ statement to indicate module exports in __init__.py.

Please see https://github.com/kubernetes-client/python/pull/1973

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the referenced kubernetes-client/python pull request first, then trace how the Python generator produces init.py files. Done means generated Python modules include all statements that identify their exports, with relevant generation behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.