organization_blocks_api module

OrganizationBlocksApi

class edgeimpulse_api.api.organization_blocks_api.OrganizationBlocksApi(
		api_client=None
)

Parameters

  • api_client=None

Methods

add_organization_deploy_block

edgeimpulse_api.api.organization_blocks_api.add_organization_deploy_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		name: pydantic.types.StrictStr,
		docker_container: pydantic.types.StrictStr,
		description: pydantic.types.StrictStr,
		cli_arguments: pydantic.types.StrictStr,
		requests_cpu: Optional[float= None,
		requests_memory: Optional[pydantic.types.StrictInt] = None,
		limits_cpu: Optional[float= None,
		limits_memory: Optional[pydantic.types.StrictInt] = None,
		photo: Optional[pydantic.types.StrictStr] = None,
		integrate_url: Optional[pydantic.types.StrictStr] = None,
		privileged: Optional[pydantic.types.StrictBool] = None,
		mount_learn_block: Optional[pydantic.types.StrictBool] = None,
		supports_eon_compiler: Optional[pydantic.types.StrictBool] = None,
		show_optimizations: Optional[pydantic.types.StrictBool] = None,
		category: Optional[pydantic.types.StrictStr] = None,
		**kwargs
)> edgeimpulse_api.models.add_organization_deploy_block_response.AddOrganizationDeployBlockResponse

Add deploy block

Adds a deploy block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • name: pydantic.types.StrictStr

  • docker_container: pydantic.types.StrictStr

  • description: pydantic.types.StrictStr

  • cli_arguments: pydantic.types.StrictStr

  • requests_cpu: Optional[float] = None

  • requests_memory: Optional[pydantic.types.StrictInt] = None

  • limits_cpu: Optional[float] = None

  • limits_memory: Optional[pydantic.types.StrictInt] = None

  • photo: Optional[pydantic.types.StrictStr] = None

  • integrate_url: Optional[pydantic.types.StrictStr] = None

  • privileged: Optional[pydantic.types.StrictBool] = None

  • mount_learn_block: Optional[pydantic.types.StrictBool] = None

  • supports_eon_compiler: Optional[pydantic.types.StrictBool] = None

  • show_optimizations: Optional[pydantic.types.StrictBool] = None

  • category: Optional[pydantic.types.StrictStr] = None

  • **kwargs

Return

edgeimpulse_api.models.add_organization_deploy_block_response.AddOrganizationDeployBlockResponse

add_organization_dsp_block

edgeimpulse_api.api.organization_blocks_api.add_organization_dsp_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		add_organization_dsp_block_request: edgeimpulse_api.models.add_organization_dsp_block_request.AddOrganizationDspBlockRequest,
		**kwargs
)> edgeimpulse_api.models.add_organization_dsp_block_response.AddOrganizationDspBlockResponse

Add dsp block

Adds a dsp block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • add_organization_dsp_block_request: edgeimpulse_api.models.add_organization_dsp_block_request.AddOrganizationDspBlockRequest

  • **kwargs

Return

edgeimpulse_api.models.add_organization_dsp_block_response.AddOrganizationDspBlockResponse

add_organization_secret

edgeimpulse_api.api.organization_blocks_api.add_organization_secret(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		add_organization_secret_request: edgeimpulse_api.models.add_organization_secret_request.AddOrganizationSecretRequest,
		**kwargs
)> edgeimpulse_api.models.add_organization_secret_response.AddOrganizationSecretResponse

Add secret

Adds a secret.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • add_organization_secret_request: edgeimpulse_api.models.add_organization_secret_request.AddOrganizationSecretRequest

  • **kwargs

Return

edgeimpulse_api.models.add_organization_secret_response.AddOrganizationSecretResponse

add_organization_transfer_learning_block

edgeimpulse_api.api.organization_blocks_api.add_organization_transfer_learning_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		add_organization_transfer_learning_block_request: edgeimpulse_api.models.add_organization_transfer_learning_block_request.AddOrganizationTransferLearningBlockRequest,
		**kwargs
) ‑> edgeimpulse_api.models.add_organization_transfer_learning_block_response.AddOrganizationTransferLearningBlockResponse

Add transfer learning block

Adds a transfer learning block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • add_organization_transfer_learning_block_request: edgeimpulse_api.models.add_organization_transfer_learning_block_request.AddOrganizationTransferLearningBlockRequest

  • **kwargs

Return

edgeimpulse_api.models.add_organization_transfer_learning_block_response.AddOrganizationTransferLearningBlockResponse

add_organization_transformation_block

edgeimpulse_api.api.organization_blocks_api.add_organization_transformation_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		add_organization_transformation_block_request: edgeimpulse_api.models.add_organization_transformation_block_request.AddOrganizationTransformationBlockRequest,
		**kwargs
)> edgeimpulse_api.models.add_organization_transformation_block_response.AddOrganizationTransformationBlockResponse

Add transformation block

Adds a transformation block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • add_organization_transformation_block_request: edgeimpulse_api.models.add_organization_transformation_block_request.AddOrganizationTransformationBlockRequest

  • **kwargs

Return

edgeimpulse_api.models.add_organization_transformation_block_response.AddOrganizationTransformationBlockResponse

delete_organization_deploy_block

edgeimpulse_api.api.organization_blocks_api.delete_organization_deploy_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		deploy_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Deploy block ID.', extra={})],
		**kwargs
)> edgeimpulse_api.models.generic_api_response.GenericApiResponse

Delete deploy block

Deletes a deploy block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • deploy_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Deploy block ID.', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

delete_organization_dsp_block

edgeimpulse_api.api.organization_blocks_api.delete_organization_dsp_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='DSP Block ID, use the impulse functions to retrieve the ID', extra={})],
		**kwargs
)> edgeimpulse_api.models.generic_api_response.GenericApiResponse

Delete dsp block

Deletes a dsp block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='DSP Block ID, use the impulse functions to retrieve the ID', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

delete_organization_secret

edgeimpulse_api.api.organization_blocks_api.delete_organization_secret(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		secret_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Secret ID', extra={})],
		**kwargs
)> edgeimpulse_api.models.generic_api_response.GenericApiResponse

Delete secret

Deletes a secret

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • secret_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Secret ID', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

delete_organization_transfer_learning_block

edgeimpulse_api.api.organization_blocks_api.delete_organization_transfer_learning_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		transfer_learning_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transfer learning ID', extra={})],
		**kwargs
)> edgeimpulse_api.models.generic_api_response.GenericApiResponse

Delete transfer learning block

Deletes a transfer learning block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • transfer_learning_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transfer learning ID', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

delete_organization_transformation_block

edgeimpulse_api.api.organization_blocks_api.delete_organization_transformation_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		transformation_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transformation block ID.', extra={})],
		**kwargs
)> edgeimpulse_api.models.generic_api_response.GenericApiResponse

Delete transformation block

Deletes a transformation block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • transformation_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transformation block ID.', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

export_organization_deploy_block

edgeimpulse_api.api.organization_blocks_api.export_organization_deploy_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		deploy_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Deploy block ID.', extra={})],
		**kwargs
)> edgeimpulse_api.models.export_block_response.ExportBlockResponse

Export deploy block

Download the source code for this block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • deploy_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Deploy block ID.', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.export_block_response.ExportBlockResponse

export_organization_dsp_block

edgeimpulse_api.api.organization_blocks_api.export_organization_dsp_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='DSP Block ID, use the impulse functions to retrieve the ID', extra={})],
		**kwargs
)> edgeimpulse_api.models.export_block_response.ExportBlockResponse

Export dsp block

Download the source code for this block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='DSP Block ID, use the impulse functions to retrieve the ID', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.export_block_response.ExportBlockResponse

export_organization_transfer_learning_block

edgeimpulse_api.api.organization_blocks_api.export_organization_transfer_learning_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		transfer_learning_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transfer learning ID', extra={})],
		**kwargs
)> edgeimpulse_api.models.export_block_response.ExportBlockResponse

Export transfer learning block

Download the source code for this block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • transfer_learning_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transfer learning ID', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.export_block_response.ExportBlockResponse

export_organization_transformation_block

edgeimpulse_api.api.organization_blocks_api.export_organization_transformation_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		transformation_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transformation block ID.', extra={})],
		**kwargs
)> edgeimpulse_api.models.export_block_response.ExportBlockResponse

Export transformation block

Download the source code for this block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • transformation_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transformation block ID.', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.export_block_response.ExportBlockResponse

get_organization_deploy_block

edgeimpulse_api.api.organization_blocks_api.get_organization_deploy_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		deploy_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Deploy block ID.', extra={})],
		**kwargs
)> edgeimpulse_api.models.get_organization_deploy_block_response.GetOrganizationDeployBlockResponse

Get deploy block

Gets a deploy block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • deploy_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Deploy block ID.', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.get_organization_deploy_block_response.GetOrganizationDeployBlockResponse

get_organization_dsp_block

edgeimpulse_api.api.organization_blocks_api.get_organization_dsp_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='DSP Block ID, use the impulse functions to retrieve the ID', extra={})],
		**kwargs
)> edgeimpulse_api.models.get_organization_dsp_block_response.GetOrganizationDspBlockResponse

Get dsp block

Gets a dsp block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='DSP Block ID, use the impulse functions to retrieve the ID', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.get_organization_dsp_block_response.GetOrganizationDspBlockResponse

get_organization_transfer_learning_block

edgeimpulse_api.api.organization_blocks_api.get_organization_transfer_learning_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		transfer_learning_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transfer learning ID', extra={})],
		**kwargs
) ‑> edgeimpulse_api.models.get_organization_transfer_learning_block_response.GetOrganizationTransferLearningBlockResponse

Get transfer learning block

Gets a transfer learning block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • transfer_learning_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transfer learning ID', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.get_organization_transfer_learning_block_response.GetOrganizationTransferLearningBlockResponse

get_organization_transformation_block

edgeimpulse_api.api.organization_blocks_api.get_organization_transformation_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		transformation_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transformation block ID.', extra={})],
		**kwargs
)> edgeimpulse_api.models.get_organization_transformation_block_response.GetOrganizationTransformationBlockResponse

Get transformation block

Get a transformation block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • transformation_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transformation block ID.', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.get_organization_transformation_block_response.GetOrganizationTransformationBlockResponse

get_public_organization_transformation_block

edgeimpulse_api.api.organization_blocks_api.get_public_organization_transformation_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		transformation_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transformation block ID.', extra={})],
		**kwargs
) ‑> edgeimpulse_api.models.get_public_organization_transformation_block_response.GetPublicOrganizationTransformationBlockResponse

Get public transformation block

Retrieve a transformation blocks published by other organizations, available for all organizations.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • transformation_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transformation block ID.', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.get_public_organization_transformation_block_response.GetPublicOrganizationTransformationBlockResponse

list_organization_deploy_blocks

edgeimpulse_api.api.organization_blocks_api.list_organization_deploy_blocks(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		**kwargs
)> edgeimpulse_api.models.list_organization_deploy_blocks_response.ListOrganizationDeployBlocksResponse

Get deploy blocks

Retrieve all deploy blocks.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.list_organization_deploy_blocks_response.ListOrganizationDeployBlocksResponse

list_organization_dsp_blocks

edgeimpulse_api.api.organization_blocks_api.list_organization_dsp_blocks(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		**kwargs
)> edgeimpulse_api.models.list_organization_dsp_blocks_response.ListOrganizationDspBlocksResponse

Get dsp blocks

Retrieve all dsp blocks.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.list_organization_dsp_blocks_response.ListOrganizationDspBlocksResponse

list_organization_secrets

edgeimpulse_api.api.organization_blocks_api.list_organization_secrets(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		**kwargs
)> edgeimpulse_api.models.list_organization_secrets_response.ListOrganizationSecretsResponse

Get secrets

Retrieve all secrets.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.list_organization_secrets_response.ListOrganizationSecretsResponse

list_organization_transfer_learning_blocks

edgeimpulse_api.api.organization_blocks_api.list_organization_transfer_learning_blocks(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		**kwargs
) ‑> edgeimpulse_api.models.list_organization_transfer_learning_blocks_response.ListOrganizationTransferLearningBlocksResponse

Get transfer learning blocks

Retrieve all transfer learning blocks.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.list_organization_transfer_learning_blocks_response.ListOrganizationTransferLearningBlocksResponse

list_organization_transformation_blocks

edgeimpulse_api.api.organization_blocks_api.list_organization_transformation_blocks(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		**kwargs
) ‑> edgeimpulse_api.models.list_organization_transformation_blocks_response.ListOrganizationTransformationBlocksResponse

Get transformation blocks

Retrieve all transformation blocks.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.list_organization_transformation_blocks_response.ListOrganizationTransformationBlocksResponse

list_public_organization_transformation_blocks

edgeimpulse_api.api.organization_blocks_api.list_public_organization_transformation_blocks(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		**kwargs
) ‑> edgeimpulse_api.models.list_public_organization_transformation_blocks_response.ListPublicOrganizationTransformationBlocksResponse

List public transformation blocks

Retrieve all transformation blocks published by other organizations, available for all organizations.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.list_public_organization_transformation_blocks_response.ListPublicOrganizationTransformationBlocksResponse

retry_organization_dsp_block

edgeimpulse_api.api.organization_blocks_api.retry_organization_dsp_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='DSP Block ID, use the impulse functions to retrieve the ID', extra={})],
		**kwargs
)> edgeimpulse_api.models.generic_api_response.GenericApiResponse

Retry connection to dsp block

Retry launch a dsp block.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='DSP Block ID, use the impulse functions to retrieve the ID', extra={})]

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

update_organization_deploy_block

edgeimpulse_api.api.organization_blocks_api.update_organization_deploy_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		deploy_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Deploy block ID.', extra={})],
		name: Optional[pydantic.types.StrictStr] = None,
		docker_container: Optional[pydantic.types.StrictStr] = None,
		description: Optional[pydantic.types.StrictStr] = None,
		cli_arguments: Optional[pydantic.types.StrictStr] = None,
		requests_cpu: Optional[float= None,
		requests_memory: Optional[pydantic.types.StrictInt] = None,
		limits_cpu: Optional[float= None,
		limits_memory: Optional[pydantic.types.StrictInt] = None,
		photo: Optional[pydantic.types.StrictStr] = None,
		integrate_url: Optional[pydantic.types.StrictStr] = None,
		privileged: Optional[pydantic.types.StrictBool] = None,
		mount_learn_block: Optional[pydantic.types.StrictBool] = None,
		supports_eon_compiler: Optional[pydantic.types.StrictBool] = None,
		show_optimizations: Optional[pydantic.types.StrictBool] = None,
		category: Optional[pydantic.types.StrictStr] = None,
		**kwargs
)> edgeimpulse_api.models.generic_api_response.GenericApiResponse

Update deploy block

Updates a deploy block. Only values in the body will be updated.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • deploy_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Deploy block ID.', extra={})]

  • name: Optional[pydantic.types.StrictStr] = None

  • docker_container: Optional[pydantic.types.StrictStr] = None

  • description: Optional[pydantic.types.StrictStr] = None

  • cli_arguments: Optional[pydantic.types.StrictStr] = None

  • requests_cpu: Optional[float] = None

  • requests_memory: Optional[pydantic.types.StrictInt] = None

  • limits_cpu: Optional[float] = None

  • limits_memory: Optional[pydantic.types.StrictInt] = None

  • photo: Optional[pydantic.types.StrictStr] = None

  • integrate_url: Optional[pydantic.types.StrictStr] = None

  • privileged: Optional[pydantic.types.StrictBool] = None

  • mount_learn_block: Optional[pydantic.types.StrictBool] = None

  • supports_eon_compiler: Optional[pydantic.types.StrictBool] = None

  • show_optimizations: Optional[pydantic.types.StrictBool] = None

  • category: Optional[pydantic.types.StrictStr] = None

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

update_organization_dsp_block

edgeimpulse_api.api.organization_blocks_api.update_organization_dsp_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='DSP Block ID, use the impulse functions to retrieve the ID', extra={})],
		update_organization_dsp_block_request: edgeimpulse_api.models.update_organization_dsp_block_request.UpdateOrganizationDspBlockRequest,
		**kwargs
)> edgeimpulse_api.models.generic_api_response.GenericApiResponse

Update dsp block

Updates a dsp block. Only values in the body will be updated.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='DSP Block ID, use the impulse functions to retrieve the ID', extra={})]

  • update_organization_dsp_block_request: edgeimpulse_api.models.update_organization_dsp_block_request.UpdateOrganizationDspBlockRequest

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

update_organization_transfer_learning_block

edgeimpulse_api.api.organization_blocks_api.update_organization_transfer_learning_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		transfer_learning_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transfer learning ID', extra={})],
		update_organization_transfer_learning_block_request: edgeimpulse_api.models.update_organization_transfer_learning_block_request.UpdateOrganizationTransferLearningBlockRequest,
		**kwargs
)> edgeimpulse_api.models.generic_api_response.GenericApiResponse

Update transfer learning block

Updates a transfer learning block. Only values in the body will be updated.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • transfer_learning_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transfer learning ID', extra={})]

  • update_organization_transfer_learning_block_request: edgeimpulse_api.models.update_organization_transfer_learning_block_request.UpdateOrganizationTransferLearningBlockRequest

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

update_organization_transformation_block

edgeimpulse_api.api.organization_blocks_api.update_organization_transformation_block(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		transformation_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transformation block ID.', extra={})],
		update_organization_transformation_block_request: edgeimpulse_api.models.update_organization_transformation_block_request.UpdateOrganizationTransformationBlockRequest,
		**kwargs
)> edgeimpulse_api.models.generic_api_response.GenericApiResponse

Update transformation block

Updates a transformation block. Only values in the body will be updated.

Parameters

  • self

  • organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • transformation_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Transformation block ID.', extra={})]

  • update_organization_transformation_block_request: edgeimpulse_api.models.update_organization_transformation_block_request.UpdateOrganizationTransformationBlockRequest

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

Last updated