Переработан эндпоинт getProfile на использование http клиента
All checks were successful
Build And Push / publish (push) Successful in 1m41s
All checks were successful
Build And Push / publish (push) Successful in 1m41s
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
from .esia.api import ESIA_API
|
||||
from .vitacore.api import VITACORE_API
|
||||
|
||||
|
||||
class ClientsObject:
|
||||
_esia_api = None
|
||||
_vitacore_api = None
|
||||
|
||||
@property
|
||||
def esia_api(self):
|
||||
@ -11,5 +13,12 @@ class ClientsObject:
|
||||
|
||||
return self._esia_api
|
||||
|
||||
@property
|
||||
def vitacore_api(self):
|
||||
if not self._vitacore_api:
|
||||
self._vitacore_api = VITACORE_API()
|
||||
|
||||
return self._vitacore_api
|
||||
|
||||
|
||||
clients = ClientsObject()
|
||||
|
||||
Reference in New Issue
Block a user