organization_transformation_block module

OrganizationTransformationBlock

class edgeimpulse_api.models.organization_transformation_block.OrganizationTransformationBlock(
		**data: Any
)

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

Parameters

  • **data: Any

Bases

  • pydantic.main.BaseModel

  • pydantic.utils.Representation

Class variables

  • Config

  • additional_mount_points: List[edgeimpulse_api.models.transformation_block_additional_mount_point.TransformationBlockAdditionalMountPoint]

  • allow_extra_cli_arguments: pydantic.types.StrictBool

  • cli_arguments: pydantic.types.StrictStr

  • created: datetime.datetime

  • created_by_user: Optional[edgeimpulse_api.models.created_updated_by_user.CreatedUpdatedByUser]

  • description: pydantic.types.StrictStr

  • docker_container: pydantic.types.StrictStr

  • docker_container_managed_by_edge_impulse: pydantic.types.StrictBool

  • id: pydantic.types.StrictInt

  • ind_metadata: pydantic.types.StrictBool

  • is_public: pydantic.types.StrictBool

  • last_updated: Optional[datetime.datetime]

  • last_updated_by_user: Optional[edgeimpulse_api.models.created_updated_by_user.CreatedUpdatedByUser]

  • limits_cpu: Optional[float]

  • limits_memory: Optional[pydantic.types.StrictInt]

  • max_running_time_str: Optional[pydantic.types.StrictStr]

  • name: pydantic.types.StrictStr

  • operates_on: edgeimpulse_api.models.transformation_job_operates_on_enum.TransformationJobOperatesOnEnum

  • parameters: Optional[List[Dict[str, Any]]]

  • parameters_ui: Optional[List[edgeimpulse_api.models.dsp_group_item.DSPGroupItem]]

  • repository_url: Optional[pydantic.types.StrictStr]

  • requests_cpu: Optional[float]

  • requests_memory: Optional[pydantic.types.StrictInt]

  • show_in_create_transformation_job: pydantic.types.StrictBool

  • show_in_data_sources: pydantic.types.StrictBool

  • source_code_available: pydantic.types.StrictBool

  • user_id: Optional[pydantic.types.StrictInt]

  • user_name: Optional[pydantic.types.StrictStr]

Static methods

from_dict

edgeimpulse_api.models.organization_transformation_block.from_dict(
		obj: dict
)> edgeimpulse_api.models.organization_transformation_block.OrganizationTransformationBlock

Create an instance of OrganizationTransformationBlock from a dict

Parameters

  • obj: dict

Return

edgeimpulse_api.models.organization_transformation_block.OrganizationTransformationBlock

from_json

edgeimpulse_api.models.organization_transformation_block.from_json(
		json_str: str
)> edgeimpulse_api.models.organization_transformation_block.OrganizationTransformationBlock

Create an instance of OrganizationTransformationBlock from a JSON string

Parameters

  • json_str: str

Return

edgeimpulse_api.models.organization_transformation_block.OrganizationTransformationBlock

Methods

to_dict

edgeimpulse_api.models.organization_transformation_block.to_dict(