dsp_run_response module#

class edgeimpulse_api.models.dsp_run_response.DspRunResponse(
*,
success: StrictBool,
error: StrictStr | None = None,
features: List[float],
graphs: List[DspRunGraph],
labels: List[StrictStr] | None = None,
state_string: StrictStr | None = None,
performance: DspRunResponseAllOfPerformance | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
error: StrictStr | None#
features: List[float]#
classmethod from_dict(
obj: dict,
) DspRunResponse[source]#

Create an instance of DspRunResponse from a dict

classmethod from_json(
json_str: str,
) DspRunResponse[source]#

Create an instance of DspRunResponse from a JSON string

graphs: List[DspRunGraph]#
labels: List[StrictStr] | None#
performance: DspRunResponseAllOfPerformance | None#
state_string: StrictStr | None#
success: StrictBool#
to_dict()[source]#

Returns the dictionary representation of the model using alias

to_json() str[source]#

Returns the JSON representation of the model using alias

to_str() str[source]#

Returns the string representation of the model using alias