Skip to content

feat: skip __init__ when calling classmethods and staticmethods - #713

Open
AAGAM17 wants to merge 1 commit into
google:masterfrom
AAGAM17:feat/skip-init-for-class-and-static-methods
Open

AAGAM17 wants to merge 1 commit into
google:masterfrom
AAGAM17:feat/skip-init-for-class-and-static-methods

Conversation

@AAGAM17

@AAGAM17 AAGAM17 commented Oct 13, 2026

Copy link
Copy Markdown

Fixes #450. Classmethods and staticmethods are now accessed on the class without calling init. Added a test that fails without the change.

@google-cla

google-cla Bot commented Oct 13, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@AAGAM17

AAGAM17 commented Oct 16, 2026

Copy link
Copy Markdown
Author

@googlebot I signed it!

This branch has not been deployed

No deployments
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.

Avoid calling __init__ for classmethod/staticmethod

1 participant