Skip to content

Conversation

@chalmerlowe
Copy link
Collaborator

@chalmerlowe chalmerlowe commented Sep 16, 2025

Adds a testing directory for the microgenerator with a new file: constraints-3.13.txt

Used by the nox.session() in the microgenerator noxfile.py. Added to support alpha release. Other constraints files will likely follow as the project evolves.

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.
@chalmerlowe chalmerlowe requested review from a team as code owners September 16, 2025 12:22
@chalmerlowe chalmerlowe requested review from leahecole and removed request for a team September 16, 2025 12:22
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: bigquery Issues related to the googleapis/python-bigquery API. labels Sep 16, 2025
@chalmerlowe chalmerlowe changed the title feat: adds testing directory feat: microgen - adds testing directory Sep 16, 2025
@chalmerlowe chalmerlowe added this to the µgen PoC milestone Sep 16, 2025
@chalmerlowe chalmerlowe self-assigned this Sep 16, 2025
Copy link
Contributor

@leahecole leahecole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@product-auto-label product-auto-label bot added size: u Pull request is empty. and removed size: xs Pull request size is extra small. labels Sep 18, 2025
@chalmerlowe chalmerlowe changed the base branch from feat/adds-main-execution-and-post-processing to autogen September 23, 2025 13:02
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. and removed size: u Pull request is empty. labels Sep 23, 2025
@product-auto-label product-auto-label bot added size: u Pull request is empty. and removed size: xs Pull request size is extra small. labels Sep 23, 2025
@chalmerlowe chalmerlowe merged commit ba2a581 into autogen Sep 23, 2025
25 checks passed
@chalmerlowe chalmerlowe deleted the feat/migrate-testing-dir branch September 23, 2025 18:06
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the googleapis/python-bigquery API. size: u Pull request is empty.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants