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
created: datetime.datetime
created_by_user: edgeimpulse_api.models.created_updated_by_user.CreatedUpdatedByUser | None
custom_model_variants: List[edgeimpulse_api.models.organization_transfer_learning_block_custom_variant.OrganizationTransferLearningBlockCustomVariant] | None
description: pydantic.types.StrictStr
display_category: edgeimpulse_api.models.block_display_category.BlockDisplayCategory | None
docker_container: pydantic.types.StrictStr
docker_container_managed_by_edge_impulse: pydantic.types.StrictBool
enterprise_only: pydantic.types.StrictBool | None
id: pydantic.types.StrictInt
image_input_scaling: edgeimpulse_api.models.image_input_scaling.ImageInputScaling | None
implementation_version: pydantic.types.StrictInt
ind_requires_gpu: pydantic.types.StrictBool
is_public: pydantic.types.StrictBool
is_public_enterprise_only: pydantic.types.StrictBool
is_public_for_devices: List[pydantic.types.StrictStr]
last_updated: datetime.datetime | None
last_updated_by_user: edgeimpulse_api.models.created_updated_by_user.CreatedUpdatedByUser | None
name: pydantic.types.StrictStr
object_detection_last_layer: edgeimpulse_api.models.object_detection_last_layer.ObjectDetectionLastLayer | None
operates_on: edgeimpulse_api.models.organization_transfer_learning_operates_on.OrganizationTransferLearningOperatesOn
parameters: List[Dict[str, Any]]
public_project_tier_availability: edgeimpulse_api.models.public_project_tier_availability.PublicProjectTierAvailability | None
repository_url: pydantic.types.StrictStr | None
source_code_available: pydantic.types.StrictBool
user_id: pydantic.types.StrictInt | None
user_name: pydantic.types.StrictStr | None
Create an instance of OrganizationTransferLearningBlock from a dict
Parameters
obj: dict
Return
edgeimpulse_api.models.organization_transfer_learning_block.OrganizationTransferLearningBlock
Create an instance of OrganizationTransferLearningBlock from a JSON string
Parameters
json_str: str
Return
edgeimpulse_api.models.organization_transfer_learning_block.OrganizationTransferLearningBlock
Returns the dictionary representation of the model using alias
Parameters
self
Returns the JSON representation of the model using alias
Parameters
self
indent=None
Return
str
Returns the string representation of the model using alias
Parameters
self
Return
str