From f1a2060bfb9a50744fa4a4731ac056785535263f Mon Sep 17 00:00:00 2001 From: Aymane Hrouch Date: Thu, 27 Apr 2023 14:43:58 +0100 Subject: Use @staticmethod decorator --- forefront/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/forefront/__init__.py b/forefront/__init__.py index b247503f..9899d991 100644 --- a/forefront/__init__.py +++ b/forefront/__init__.py @@ -9,6 +9,7 @@ from json import loads class Account: + @staticmethod def create(proxy = None, logging = False): proxies = { @@ -79,6 +80,7 @@ class Account: class StreamingCompletion: + @staticmethod def create( token = None, chatId = None, -- cgit v1.2.3