exceptions module#

exception edgeimpulse.exceptions.EdgeImpulseException(message)[source]#

Bases: Exception

exception edgeimpulse.exceptions.InvalidAuthTypeException(message)[source]#

Bases: EdgeImpulseException

exception edgeimpulse.exceptions.InvalidDeployParameterException(msg: str)[source]#

Bases: EdgeImpulseException

Exception raised when an invalid parameter is passed.

exception edgeimpulse.exceptions.InvalidDeviceException(device: str, profile_devices: List[str])[source]#

Bases: EdgeImpulseException

Exception raised when an invalid device is passed.

device#

device type to profile

Type:

str

profile devices

List of devices for a project as strings.

Type:

List[str]

exception edgeimpulse.exceptions.InvalidEngineException(validation_error)[source]#

Bases: EdgeImpulseException

Exception raised when an invalid engine is passed.

For a list of valid engines use edgeimpulse.model.list_engines().

exception edgeimpulse.exceptions.InvalidModelException(msg: str)[source]#

Bases: EdgeImpulseException

exception edgeimpulse.exceptions.InvalidTargetException(deploy_target: str, target_names: List[str])[source]#

Bases: EdgeImpulseException

Exception raised when an invalid target is passed.

For a list of valid targets use edgeimpulse.model.list_deployment_targets().

deploy_target#

Target to deploy to.

Type:

str

target_names#

List of targets for a project as strings.

Type:

List[str]

exception edgeimpulse.exceptions.MissingApiKeyException[source]#

Bases: EdgeImpulseException

exception edgeimpulse.exceptions.TimeoutException(msg: str)[source]#

Bases: EdgeImpulseException

Exception raised when a timeout has been reached.

exception edgeimpulse.exceptions.UnsuccessfulRequestException(error: str | None)[source]#

Bases: EdgeImpulseException

exception edgeimpulse.exceptions.UnsupportedSampleType(error: str | None)[source]#

Bases: EdgeImpulseException

Exception raised when attempting to upload or download a data type that is not supported by Edge Impulse.