Merge pull request #203 from AymaneHrouch/static_methods
Use @staticmethod decorator
This commit is contained in:
commit
814c960998
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue