impulse_dsp_block module

ImpulseDspBlock

class edgeimpulse_api.models.impulse_dsp_block.ImpulseDspBlock(
		**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

  • **data: Any

Bases

  • pydantic.main.BaseModel

  • pydantic.utils.Representation

Class variables

  • Config

  • axes: List[pydantic.types.StrictStr]

  • base_block_id: Optional[pydantic.types.StrictInt]

  • cloned_from_block_id: Optional[pydantic.types.StrictInt]

  • created_at: Optional[datetime.datetime]

  • created_by: Optional[pydantic.types.StrictStr]

  • custom_url: Optional[pydantic.types.StrictStr]

  • db: Optional[pydantic.types.StrictBool]

  • description: Optional[pydantic.types.StrictStr]

  • enabled: Optional[pydantic.types.StrictBool]

  • id: edgeimpulse_api.models.impulse_dsp_block.ConstrainedIntValue

  • implementation_version: pydantic.types.StrictInt

  • input: Optional[pydantic.types.StrictInt]

  • mutated: Optional[pydantic.types.StrictBool]

  • name: pydantic.types.StrictStr

  • organization: Optional[edgeimpulse_api.models.impulse_dsp_block_organization.ImpulseDspBlockOrganization]

  • primary_version: pydantic.types.StrictBool

  • title: pydantic.types.StrictStr

  • tuner_base_block_id: Optional[pydantic.types.StrictInt]

  • tuner_primary: Optional[pydantic.types.StrictBool]

  • tuner_template_id: Optional[pydantic.types.StrictInt]

  • type: pydantic.types.StrictStr

  • values_per_axis: Optional[pydantic.types.StrictInt]

Static methods

from_dict

edgeimpulse_api.models.impulse_dsp_block.from_dict(
		obj: dict
)> edgeimpulse_api.models.impulse_dsp_block.ImpulseDspBlock

Create an instance of ImpulseDspBlock from a dict

Parameters

  • obj: dict

Return

edgeimpulse_api.models.impulse_dsp_block.ImpulseDspBlock

from_json

edgeimpulse_api.models.impulse_dsp_block.from_json(
		json_str: str
)> edgeimpulse_api.models.impulse_dsp_block.ImpulseDspBlock

Create an instance of ImpulseDspBlock from a JSON string

Parameters

  • json_str: str

Return

edgeimpulse_api.models.impulse_dsp_block.ImpulseDspBlock

Methods

to_dict

edgeimpulse_api.models.impulse_dsp_block.to_dict(
		self
)

Returns the dictionary representation of the model using alias

Parameters

  • self

to_json