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: typing_extensions.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: typing_extensions.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: typing_extensions.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.AddOrganizationDspBloc