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: float | None = None,
		requests_memory: pydantic.types.StrictInt | None = None,
		limits_cpu: float | None = None,
		limits_memory: pydantic.types.StrictInt | None = None,
		photo: pydantic.types.StrictStr | None = None,
		integrate_url: pydantic.types.StrictStr | None = None,
		privileged: pydantic.types.StrictBool | None = None,
		mount_learn_block: pydantic.types.StrictBool | None = None,
		supports_eon_compiler: pydantic.types.StrictBool | None = None,
		show_optimizations: pydantic.types.StrictBool | None = None,
		category: pydantic.types.StrictStr | None = None,
		**kwargs
)> edgeimpulse_api.models.entity_created_response.EntityCreatedResponse

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: float | None = None

  • requests_memory: pydantic.types.StrictInt | None = None

  • limits_cpu: float | None = None

  • limits_memory: pydantic.types.StrictInt | None = None

  • photo: pydantic.types.StrictStr | None = None

  • integrate_url: pydantic.types.StrictStr | None = None

  • privileged: pydantic.types.StrictBool | None = None

  • mount_learn_block: pydantic.types.StrictBool | None = None

  • supports_eon_compiler: pydantic.types.StrictBool | None = None

  • show_optimizations: pydantic.types.StrictBool | None = None

  • category: pydantic.types.StrictStr | None = None

  • **kwargs

Return

edgeimpulse_api.models.entity_created_response.EntityCreatedResponse

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.entity_created_response.EntityCreatedResponse

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.entity_created_response.EntityCreatedResponse

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.entity_created_response.EntityCreatedResponse

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.entity_created_response.EntityCreatedResponse

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.entity_created_response.EntityCreatedResponse

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.entity_created_response.EntityCreatedResponse

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.entity_created_response.EntityCreatedResponse

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.entity_created_response.EntityCreatedResponse

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: pydantic.types.StrictStr | None = None,
		docker_container: pydantic.types.StrictStr | None = None,
		description: pydantic.types.StrictStr | None = None,
		cli_arguments: pydantic.types.StrictStr | None = None,
		requests_cpu: float | None = None,
		requests_memory: pydantic.types.StrictInt | None = None,
		limits_cpu: float | None = None,
		limits_memory: pydantic.types.StrictInt | None = None,
		photo: pydantic.types.StrictStr | None = None,
		integrate_url: pydantic.types.StrictStr | None = None,
		privileged: pydantic.types.StrictBool | None = None,
		mount_learn_block: pydantic.types.StrictBool | None = None,
		supports_eon_compiler: pydantic.types.StrictBool | None = None,
		show_optimizations: pydantic.types.StrictBool | None = None,
		category: pydantic.types.StrictStr | None = 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: pydantic.types.StrictStr | None = None

  • docker_container: pydantic.types.StrictStr | None = None

  • description: pydantic.types.StrictStr | None = None

  • cli_arguments: pydantic.types.StrictStr | None = None

  • requests_cpu: float | None = None

  • requests_memory: pydantic.types.StrictInt | None = None

  • limits_cpu: float | None = None

  • limits_memory: pydantic.types.StrictInt | None = None

  • photo: pydantic.types.StrictStr | None = None

  • integrate_url: pydantic.types.StrictStr | None = None

  • privileged: pydantic.types.StrictBool | None = None

  • mount_learn_block: pydantic.types.StrictBool | None = None

  • supports_eon_compiler: pydantic.types.StrictBool | None = None

  • show_optimizations: pydantic.types.StrictBool | None = None

  • category: pydantic.types.StrictStr | None = 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