1
0
Fork 0

Use @staticmethod decorator

This commit is contained in:
Aymane Hrouch 2023-04-27 14:43:58 +01:00
parent a5b4d8b10c
commit f1a2060bfb

View file

@ -9,6 +9,7 @@ from json import loads
class Account: class Account:
@staticmethod
def create(proxy = None, logging = False): def create(proxy = None, logging = False):
proxies = { proxies = {
@ -79,6 +80,7 @@ class Account:
class StreamingCompletion: class StreamingCompletion:
@staticmethod
def create( def create(
token = None, token = None,
chatId = None, chatId = None,