Skip to content

Add Python helper methods - #194

Closed
QuinnCarisCapgemini wants to merge 4 commits into
mainfrom
python-helper-methods
Closed

QuinnCarisCapgemini wants to merge 4 commits into
mainfrom
python-helper-methods

Conversation

@QuinnCarisCapgemini

Copy link
Copy Markdown
Collaborator

Adds three helper methods that any Python recipe can access by operating on self:

  • extract_call_arguments: returns positional and keyword call arguments from a call node (or a child node within a call)
  • class_base_arguments: returns declared base class signatures
  • class_inherits_from: checks whether a class inherits from a given base name

Tests for all methods have been provided as well, which clarifies intent of use cases as well.

@QuinnCarisCapgemini

Copy link
Copy Markdown
Collaborator Author

Closed as this cannot be merged as a result of unverified commits. See #195.

@QuinnCarisCapgemini
QuinnCarisCapgemini deleted the python-helper-methods branch September 17, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant