refactor: change methods not using its bound instance to staticmethods #20

Merged
deepsource-autofix[bot] merged 1 commits from deepsource-autofix-29fa619a into master 2025-12-01 03:23:46 +00:00

1 Commits

Author SHA1 Message Date
deepsource-autofix[bot]
73f677d319 refactor: change methods not using its bound instance to staticmethods
The method doesn't use its bound instance. Decorate this method with `@staticmethod` decorator, so that Python does not have to instantiate a bound method for every instance of this class thereby saving memory and computation. Read more about staticmethods [here](https://docs.python.org/3/library/functions.html#staticmethod).
2025-12-01 03:22:30 +00:00