Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert Class Method to Static Method in Stripe Operations #2111

Merged
merged 3 commits into from
Mar 7, 2024

Conversation

ashmeigh
Copy link
Collaborator

@ashmeigh ashmeigh commented Mar 6, 2024

Description

This pull request modifies the filter_func method in the Stripe Operations from a class method (@classmethod) to a static method (@staticmethod). This change is proposed to enhance the method's utility by making it callable without needing an instance of the class, which is more suitable for its current implementation that does not require access to the class state.

Testing

Needs to be tested

@coveralls
Copy link

Coverage Status

coverage: 74.392%. remained the same
when pulling 3e5ba4a on compute_static
into a0c5041 on main.

Copy link
Collaborator

@samtygier-stfc samtygier-stfc left a comment

Choose a reason for hiding this comment

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

Looks good, passes tests

@samtygier-stfc samtygier-stfc added this pull request to the merge queue Mar 7, 2024
Merged via the queue into main with commit cf2b2d2 Mar 7, 2024
8 checks passed
@samtygier-stfc samtygier-stfc deleted the compute_static branch March 7, 2024 14:55
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.

3 participants