This repository was archived by the owner on Mar 6, 2026. It is now read-only.
feat: microgen - adds testing directory#2296
Merged
chalmerlowe merged 24 commits intoautogenfrom Sep 23, 2025
Merged
Conversation
Migrates the empty __init__.py file to the microgenerator package.
Introduces the CodeAnalyzer class and helper functions for parsing Python code using the ast module. This provides the foundation for understanding service client structures.
Implements functions to analyze Python source files, including:
- Filtering classes and methods based on configuration.
- Building a schema of request classes and their arguments.
- Processing service client files to extract relevant information.
testing directory
1 task
leahecole
reviewed
Sep 16, 2025
Contributor
There was a problem hiding this comment.
Should this have something other than a single 1? I've only ever had a fuller constraints file
The file should have been empty. We often have no constraints for higher versions of Python (e.g. 3.13) but the file itself is expected by the nox sessions, empty or not.
No idea how a 1 got in there. Prolly a bit monster.
Removed the 1.
chalmerlowe
commented
Sep 18, 2025
chalmerlowe
commented
Sep 23, 2025
chalmerlowe
commented
Sep 23, 2025
chalmerlowe
commented
Sep 23, 2025
shollyman
approved these changes
Sep 23, 2025
gcf-merge-on-green Bot
pushed a commit
that referenced
this pull request
Sep 23, 2025
- [ ] Follows: PR #2296 (should be merged after that PR is merged.) This PR upgrades the `_to_snake_case()` function to better handle names that have acronyms or initialisms. Also adds a `raise` statement if method name is empty.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a testing directory for the microgenerator with a new file:
constraints-3.13.txtUsed by the
nox.session()in the microgeneratornoxfile.py. Added to support alpha release. Other constraints files will likely follow as the project evolves.