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: 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
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
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
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
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
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: 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
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