Removing unused log method from previous builds
This commit is contained in:
parent
68099af7ba
commit
c77ce0b7b6
@ -56,12 +56,6 @@ class Worker:
|
|||||||
return {'id': self.id, 'jwt': auth_opt}
|
return {'id': self.id, 'jwt': auth_opt}
|
||||||
|
|
||||||
|
|
||||||
def log(self, params: dict, url: str, method: str, request: requests.Response, body=True):
|
|
||||||
print(f'TESTBOT {method} {url} {request.status_code}', file=self.out)
|
|
||||||
print(f'TESTBOT\t\t[Parameters]: {params}', file=self.out)
|
|
||||||
if body:
|
|
||||||
print(f'TESTBOT\t\t[Body]: {request.text}\n', file=self.out)
|
|
||||||
|
|
||||||
def _append_auth(self, opts: dict, auth: str):
|
def _append_auth(self, opts: dict, auth: str):
|
||||||
'''
|
'''
|
||||||
Default auth fallback type is jwt because that's they only other type of auth
|
Default auth fallback type is jwt because that's they only other type of auth
|
||||||
|
Loading…
Reference in New Issue
Block a user