Skip to main content

Classes

SampleLabelMap

edgeimpulse_api.models.sample_label_map.SampleLabelMap(
	**data: Any
)
Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model.
Parameters
**dataAny
Bases
pydantic.v1.main.BaseModel
pydantic.v1.utils.Representation
Class variables
Config
actual_instanceAny
one_of_schemasList[str]
oneof_schema_1_validatoredgeimpulse_api.models.sample_key_value_labels.SampleKeyValueLabels | None

STATIC METHODS

actual_instance_must_validate_oneof

edgeimpulse_api.models.sample_label_map.SampleLabelMap.actual_instance_must_validate_oneof(
	v
)
Parameters
v

from_dict

edgeimpulse_api.models.sample_label_map.SampleLabelMap.from_dict(
	obj: dict
) ‑> edgeimpulse_api.models.sample_label_map.SampleLabelMap
Parameters
objdict
Returns
edgeimpulse_api.models.sample_label_map.SampleLabelMap

from_json

edgeimpulse_api.models.sample_label_map.SampleLabelMap.from_json(
	json_str: str
) ‑> edgeimpulse_api.models.sample_label_map.SampleLabelMap
Returns the object represented by the json string
Parameters
json_strstr
Returns
edgeimpulse_api.models.sample_label_map.SampleLabelMap

METHODS

to_dict

edgeimpulse_api.models.sample_label_map.SampleLabelMap.to_dict(
	self
) ‑> dict
Returns the dict representation of the actual instance
Parameters
self
Returns
dict

to_json

edgeimpulse_api.models.sample_label_map.SampleLabelMap.to_json(
	self,
	indent=None
) ‑> str
Returns the JSON representation of the actual instance
Parameters
self
indent=None
Returns
str

to_str

edgeimpulse_api.models.sample_label_map.SampleLabelMap.to_str(
	self
) ‑> str
Returns the string representation of the actual instance
Parameters
self
Returns
str