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

  • v

Methods

to_dict

edgeimpulse_api.models.project.to_dict(
		self
)

Returns the dictionary representation of the model using alias

Parameters

  • self

to_json

edgeimpulse_api.models.project.to_json(
		self
)> str

Returns the JSON representation of the model using alias

Parameters

  • self

Return

str

to_str

edgeimpulse_api.models.project.to_str(
		self
)> str

Returns the string representation of the model using alias

Parameters

  • self

Return

str

Last updated