Skip to content

Remove local generator code - #4032

Merged
nogates merged 2 commits into
masterfrom
nogates/mirror-go-pr-4584-python
Sep 17, 2026
Merged

nogates merged 2 commits into
masterfrom
nogates/mirror-go-pr-4584-python

Conversation

@nogates

@nogates nogates commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

Mirrors DataDog/datadog-api-client-go#4584 for the Python client:

  • removes the in-repository Python generator package, templates, tests, and generation script while retaining the OpenAPI snapshots under .generator/schemas
  • removes generator-only pre-commit hooks
  • documents the internal client-generation and pull-request regeneration workflow
  • resolves scenario API, operation, parameter, and model attribute names from generated client metadata instead of depending on generator naming files

Testing

  • PYTHONPATH=src DD_USE_GENERATED_TESTS=true python -m pytest tests -q --disable-warnings --maxfail=1 (1741 passed, 3166 skipped)
  • selected cassette replay scenarios for SLOs, API keys, AuthN mappings, and IdP metadata (4 passed)
  • core client, serialization, and deserialization tests (31 passed)
  • pre-commit validate-config
  • pre-commit run docs --hook-stage manual --files README.md --show-diff-on-failure
  • pre-commit run check-case-conflict --all-files --show-diff-on-failure
  • git diff --check

Review checklist

  • This PR includes all newly recorded cassettes for any modified tests. (Not applicable; no tests or cassettes changed.)
  • This PR does not rely on API client schema changes.
    • The CI should be fully passing.
  • Or, this PR relies on API schema changes and this is a Draft PR to include tests for that new functionality.

@nogates nogates added documentation Improvements or additions to documentation changelog/no-changelog labels Sep 17, 2026
@nogates
nogates requested review from a team as code owners September 17, 2026 13:12
@nogates
nogates merged commit 7a579df into master Sep 17, 2026
15 checks passed
@nogates
nogates deleted the nogates/mirror-go-pr-4584-python branch September 17, 2026 15:18
github-actions Bot pushed a commit that referenced this pull request Sep 17, 2026
* Remove local generator code

* pre-commit fixes

---------

Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> 7a579df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants