dsp_run_response_with_sample module#

class edgeimpulse_api.models.dsp_run_response_with_sample.DspRunResponseWithSample(
*,
success: StrictBool,
error: StrictStr | None = None,
features: List[float],
graphs: List[DspRunGraph],
labels: List[StrictStr] | None = None,
state_string: StrictStr | None = None,
labelAtEndOfWindow: StrictStr | None = None,
sample: RawSampleData,
performance: DspRunResponseAllOfPerformance | None = None,
canProfilePerformance: StrictBool,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

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

Create an instance of DspRunResponseWithSample from a dict

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

Create an instance of DspRunResponseWithSample from a JSON string

graphs: List[DspRunGraph]#
label_at_end_of_window: StrictStr | None#
labels: List[StrictStr] | None#
performance: DspRunResponseAllOfPerformance | None#
sample: RawSampleData#
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