project_public_data module#

class edgeimpulse_api.models.project_public_data.ProjectPublicData(
*,
id: StrictInt,
name: StrictStr,
description: StrictStr,
created: datetime,
owner: StrictStr,
ownerAvatar: StrictStr | None = None,
publicUrl: StrictStr,
projectType: ProjectType,
pageViewCount: StrictInt,
cloneCount: StrictInt,
totalSamplesCount: StrictStr | None = None,
trainingAccuracy: float | None = None,
testAccuracy: float | None = None,
readme: ProjectPublicDataReadme | None = None,
tags: List[StrictStr],
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
clone_count: StrictInt#
created: datetime#
description: StrictStr#
classmethod from_dict(
obj: dict,
) ProjectPublicData[source]#

Create an instance of ProjectPublicData from a dict

classmethod from_json(
json_str: str,
) ProjectPublicData[source]#

Create an instance of ProjectPublicData from a JSON string

id: StrictInt#
name: StrictStr#
owner: StrictStr#
owner_avatar: StrictStr | None#
page_view_count: StrictInt#
project_type: ProjectType#
public_url: StrictStr#
readme: ProjectPublicDataReadme | None#
tags: List[StrictStr]#
test_accuracy: float | None#
to_dict()[source]#

Returns the dictionary representation of the model using alias

to_json() str[source]#

Returns the JSON representation of the model using alias

to_str() str[source]#

Returns the string representation of the model using alias

total_samples_count: StrictStr | None#
training_accuracy: float | None#