Repository navigation
Name the current and located document and definition entries once - #6703
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Merging this PR will degrade performance by 47.85%2 warnings
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
Breaking Change AnalysisResult: No breaking changes detected Reasoning: This PR is an internal refactor of private parser modules (_inherited_schemas, _schema_documents, _schema_refs) and of jsonschema.py. It adds the helpers current_document, located_document and definition_entries, which wrap repeated calls to schema_resource_document and the definitions-entry walk, and it replaces the inline expressions with these helpers. The results are the same as before: definition_entries puts the container entries first and then the namespace walk, and slicing past len(definitions) gives back the old list. The only import that was removed, DocumentId in _schema_refs, is still used through located_document. No public CLI option, Python API, template or default changes. Every cell in the behaviour diff gate is both-fail, and none are accepted or violation, so default generated output does not change. This analysis was produced by the release draft workflow |
|
🎉 Released in 0.93.0 This PR is now available in the latest release. See the release notes for details. |
No description provided.