Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, host_ip, token, request_timeout=5, renew_period=60 * 20):
parsed_host_ip = strip_ip(host_ip)
self.__http_client = EvaHTTPClient(parsed_host_ip, token, request_timeout=request_timeout, renew_period=renew_period)
self.__logger = logging.getLogger('evasdk.Eva:{}'.format(host_ip))
self.__eva_locker = EvaWithLocker(self)