Skip to content

Conversation

chalmerlowe
Copy link
Collaborator

This PR tests several characteristics of the CodeAnalyzer:

  • the ability to extract various types of type hints correctly
  • the ability to parse various Python objects: classes, methods, etc

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.
…ke_case function in name_utils.py to correctly convert PascalCase names containing acronyms to snake_case.
…l template containing helper macros for the client generation.
@chalmerlowe chalmerlowe requested review from a team as code owners September 18, 2025 10:39
@chalmerlowe chalmerlowe requested review from suzmue and removed request for a team September 18, 2025 10:39
@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Sep 18, 2025
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Sep 18, 2025
@chalmerlowe chalmerlowe added this to the µgen PoC milestone Sep 18, 2025
@chalmerlowe chalmerlowe removed the request for review from suzmue September 18, 2025 10:49
@chalmerlowe chalmerlowe changed the title test: checks typing extraction and to extract classes, methods, etc test: microgen - checks typing extraction and to extract classes, methods, etc Sep 18, 2025
@chalmerlowe chalmerlowe changed the base branch from feat/adds-client-helpers-template to autogen September 30, 2025 09:44
@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Sep 30, 2025
@chalmerlowe chalmerlowe added the automerge Merge the pull request once unit tests and other checks pass. label Oct 1, 2025
Copy link

Your PR has conflicts that you need to resolve before merge-on-green can automerge

@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Oct 2, 2025
@chalmerlowe chalmerlowe added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 7, 2025
@chalmerlowe
Copy link
Collaborator Author

We have achieved conflict hell. Do not merge nor review yet.

@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: l Pull request size is large. labels Oct 7, 2025
Copy link
Collaborator Author

@chalmerlowe chalmerlowe left a comment

Choose a reason for hiding this comment

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

cleaning up merge issues.

@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Oct 7, 2025
@chalmerlowe chalmerlowe removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 7, 2025
@chalmerlowe chalmerlowe merged commit 66504db into autogen Oct 9, 2025
22 checks passed
@chalmerlowe chalmerlowe deleted the test/adds-generate-typing-checks-2 branch October 9, 2025 15:32
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: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants