Merge pull request #203 from AymaneHrouch/static_methods

Use @staticmethod decorator
This commit is contained in:
t.me/xtekky 2023-04-27 15:28:16 +01:00 committed by GitHub
commit 814c960998
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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,