Bulkmailer / BulkMailer-Backend

Backend for Bulk Mailer
https://bulkmailer.suhaila.tech
7 stars 4 forks source link

change methods not using its bound instance to staticmethods #5

Closed deepsource-autofix[bot] closed 1 year ago

deepsource-autofix[bot] commented 1 year ago

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.