Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
from ocpp.charge_point import ChargePoint as cp
from ocpp.v20 import call_result, call
class ChargePoint(cp):
_call = call
_call_result = call_result
_ocpp_version = '2.0'
from ocpp.charge_point import ChargePoint as cp
from ocpp.v16 import call_result, call
class ChargePoint(cp):
_call = call
_call_result = call_result
_ocpp_version = '1.6'