project module

Project

class edgeimpulse_api.models.project.Project(
		**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

  • allows_live_public_access: pydantic.types.StrictBool

  • category: Optional[pydantic.types.StrictStr]

  • collaborators: List[edgeimpulse_api.models.project_collaborator.ProjectCollaborator]

  • created: datetime.datetime

  • data_explorer_screenshot: Optional[pydantic.types.StrictStr]

  • description: pydantic.types.StrictStr

  • developer_profile_user_id: Optional[pydantic.types.StrictInt]

  • has_public_version: pydantic.types.StrictBool

  • id: pydantic.types.StrictInt

  • ind_pause_processing_samples: pydantic.types.StrictBool

  • is_enterprise_project: pydantic.types.StrictBool

  • is_public: pydantic.types.StrictBool

  • labeling_method: pydantic.types.StrictStr

  • last_accessed: Optional[datetime.datetime]

  • license: Optional[pydantic.types.StrictStr]

  • logo: Optional[pydantic.types.StrictStr]

  • metadata: Dict[str, Any]

  • name: pydantic.types.StrictStr

  • owner: pydantic.types.StrictStr

  • owner_avatar: Optional[pydantic.types.StrictStr]

  • owner_is_developer_profile: pydantic.types.StrictBool

  • owner_organization_id: Optional[pydantic.types.StrictInt]

  • owner_user_id: Optional[pydantic.types.StrictInt]

  • public_project_listed: pydantic.types.StrictBool

  • tags: Optional[List[pydantic.types.StrictStr]]

  • tier: edgeimpulse_api.models.project_tier_enum.ProjectTierEnum

  • whitelabel_id: Optional[pydantic.types.StrictInt]

Static methods

from_dict

edgeimpulse_api.models.project.from_dict(
		obj: dict
)> edgeimpulse_api.models.project.Project

Create an instance of Project from a dict

Parameters

  • obj: dict

Return

edgeimpulse_api.models.project.Project

from_json

edgeimpulse_api.models.project.from_json(
		json_str: str
)> edgeimpulse_api.models.project.Project

Create an instance of Project from a JSON string

Parameters

  • json_str: str

Return

edgeimpulse_api.models.project.Project

labeling_method_validate_enum

edgeimpulse_api.models.project.labeling_method_validate_enum(
		v
)

Parameters