impulse_learn_block module#
- class edgeimpulse_api.models.impulse_learn_block.ImpulseLearnBlock(
- *,
- id: ConstrainedIntValue,
- type: LearnBlockType,
- name: StrictStr,
- dsp: List[StrictInt],
- title: StrictStr,
- primaryVersion: StrictBool,
- baseBlockId: StrictInt | None = None,
- tunerBaseBlockId: StrictInt | None = None,
- tunerTemplateId: StrictInt | None = None,
- tunerPrimary: StrictBool | None = None,
- clonedFromBlockId: StrictInt | None = None,
- mutated: StrictBool | None = None,
- enabled: StrictBool | None = None,
- db: StrictBool | None = None,
- description: StrictStr | None = None,
- createdBy: StrictStr | None = None,
- createdAt: datetime | None = None,
Bases:
BaseModel
- class Config[source]#
Bases:
object
- allow_population_by_field_name = True#
- validate_assignment = False#
- base_block_id: StrictInt | None#
- cloned_from_block_id: StrictInt | None#
- created_at: datetime | None#
- created_by: StrictStr | None#
- db: StrictBool | None#
- description: StrictStr | None#
- dsp: List[StrictInt]#
- enabled: StrictBool | None#
- classmethod from_dict(
- obj: dict,
Create an instance of ImpulseLearnBlock from a dict
- classmethod from_json(
- json_str: str,
Create an instance of ImpulseLearnBlock from a JSON string
- id: ConstrainedIntValue#
- mutated: StrictBool | None#
- name: StrictStr#
- primary_version: StrictBool#
- title: StrictStr#
- tuner_base_block_id: StrictInt | None#
- tuner_primary: StrictBool | None#
- tuner_template_id: StrictInt | None#
- type: LearnBlockType#