organization_blocks_api module
OrganizationBlocksApi
Parameters
api_client=None
Methods
add_organization_deploy_block
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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