some cleanup
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import requests
|
||||
import functools
|
||||
import json
|
||||
import requests
|
||||
|
||||
from .authmixin import AuthMixin, AuthError, HEADER_JSON
|
||||
|
||||
@ -57,9 +57,6 @@ class HttpClient(AuthMixin):
|
||||
def _login(self, payload=None, headers=None, timeout=10):
|
||||
return requests.post(self.address + "/users/login", json=payload, headers=headers, timeout=timeout, verify=self._verify_certificate).json()
|
||||
|
||||
def typename(self, obj):
|
||||
return type(obj).__name__
|
||||
|
||||
@staticmethod
|
||||
def make_filter(where:dict=None, limit:int=0, skip:int=0, fields:dict=None, include:dict=None, order:list=None):
|
||||
filt = dict()
|
||||
|
Reference in New Issue
Block a user