Thank you for your interest in contributing to kb-cloud-client-python!
# Clone the repository
git clone https://github.com/apecloud/kb-cloud-client-python.git
cd kb-cloud-client-python
# Install the package in editable mode with dev extras
python3.10 -m pip install -e ".[dev]"The code under src/kb_cloud_client/kbcloud/ is auto-generated. Do not edit
it directly. Instead, update the OpenAPI schemas in .generator/schemas/ or the
Jinja2 templates in .generator/src/generator/templates/, then regenerate:
./generate.shGenerator dependencies are installed automatically by the script.
pytest tests/This project uses Black for formatting and mypy for type checking:
black src/ tests/ examples/
mypy src/- Fork the repository and create a feature branch.
- Run the linter and tests before opening a PR.
- Keep commits focused; one logical change per commit.
- PR titles follow the
chore:/feat:/fix:convention.
Please open a GitHub issue with a minimal reproducible example. Include the
client version (import kb_cloud_client; print(kb_cloud_client.__version__)
once versioning is wired up) and the Python version.