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
**data: Any
Bases
pydantic.main.BaseModel
pydantic.utils.Representation
Class variables
Config
created_at: datetime.datetime | None
created_by: pydantic.types.StrictStr | None
description: pydantic.types.StrictStr | None
dsp: List[pydantic.types.StrictInt]
id: pydantic.types.ConstrainedIntValue
name: pydantic.types.StrictStr
title: pydantic.types.StrictStr
type: edgeimpulse_api.models.learn_block_type.LearnBlockType
Create an instance of ImpulseLearnBlock from a dict
Parameters
obj: dict
Return
edgeimpulse_api.models.impulse_learn_block.ImpulseLearnBlock
Create an instance of ImpulseLearnBlock from a JSON string
Parameters
json_str: str
Return
edgeimpulse_api.models.impulse_learn_block.ImpulseLearnBlock
Returns the dictionary representation of the model using alias
Parameters
self
Returns the JSON representation of the model using alias
Parameters
self
indent=None
Return
str
Returns the string representation of the model using alias
Parameters
self
Return
str