vendor_connectors.meshy.persistence.schemas
vendor_connectors.meshy.persistence.schemas
Section titled “vendor_connectors.meshy.persistence.schemas”Pydantic schemas for manifest JSON structure.
Module Contents
Section titled “Module Contents”Classes
Section titled “Classes”TaskStatus | Task status enum. |
|---|---|
TaskSubmission | Record of a task submission. |
TaskGraphEntry | Record of a single task in the generation pipeline. |
ArtifactRecord | Record of a downloaded file artifact. |
StatusHistoryEntry | Record of a status transition. |
AssetManifest | Manifest for a single generated asset. |
ProjectManifest | Top-level manifest for all assets of a project. |
Functions
Section titled “Functions”_utc_now | Return current UTC time with timezone info. |
|---|
vendor_connectors.meshy.persistence.schemas._utc_now() → datetime.datetime
Section titled “vendor_connectors.meshy.persistence.schemas._utc_now() → datetime.datetime”Return current UTC time with timezone info.
class vendor_connectors.meshy.persistence.schemas.TaskStatus
Section titled “class vendor_connectors.meshy.persistence.schemas.TaskStatus”Task status enum.
Initialization
Section titled “Initialization”Initialize self. See help(type(self)) for accurate signature.
PENDING
Section titled “PENDING”‘PENDING’
IN_PROGRESS
Section titled “IN_PROGRESS”‘IN_PROGRESS’
SUCCEEDED
Section titled “SUCCEEDED”‘SUCCEEDED’
FAILED
Section titled “FAILED”‘FAILED’
EXPIRED
Section titled “EXPIRED”‘EXPIRED’
class vendor_connectors.meshy.persistence.schemas.TaskSubmission
Section titled “class vendor_connectors.meshy.persistence.schemas.TaskSubmission”Bases: pydantic.BaseModel
Record of a task submission.
task_id : str
Section titled “task_id : str”None
spec_hash : str
Section titled “spec_hash : str”None
project : str
Section titled “project : str”None
service : str
Section titled “service : str”None
status : vendor_connectors.meshy.persistence.schemas.TaskStatus
Section titled “status : vendor_connectors.meshy.persistence.schemas.TaskStatus”None
callback_url : str
Section titled “callback_url : str”None
‘Field(…)’
‘Field(…)’
class vendor_connectors.meshy.persistence.schemas.TaskGraphEntry
Section titled “class vendor_connectors.meshy.persistence.schemas.TaskGraphEntry”Bases: pydantic.BaseModel
Record of a single task in the generation pipeline.
task_id : str
Section titled “task_id : str”None
service : str
Section titled “service : str”None
status : str
Section titled “status : str”None
None
None
payload : dict[str, Any]
Section titled “payload : dict[str, Any]”‘Field(…)’
result_paths : dict[str, str]
Section titled “result_paths : dict[str, str]”‘Field(…)’
error : str | None
Section titled “error : str | None”None
class vendor_connectors.meshy.persistence.schemas.ArtifactRecord
Section titled “class vendor_connectors.meshy.persistence.schemas.ArtifactRecord”Bases: pydantic.BaseModel
Record of a downloaded file artifact.
relative_path : str
Section titled “relative_path : str”None
sha256_hash : str
Section titled “sha256_hash : str”None
file_size_bytes : int
Section titled “file_size_bytes : int”None
None
source_url : str | None
Section titled “source_url : str | None”None
class vendor_connectors.meshy.persistence.schemas.StatusHistoryEntry
Section titled “class vendor_connectors.meshy.persistence.schemas.StatusHistoryEntry”Bases: pydantic.BaseModel
Record of a status transition.
None
old_status : str
Section titled “old_status : str”None
new_status : str
Section titled “new_status : str”None
source : str
Section titled “source : str”None
task_id : str | None
Section titled “task_id : str | None”None
class vendor_connectors.meshy.persistence.schemas.AssetManifest
Section titled “class vendor_connectors.meshy.persistence.schemas.AssetManifest”Bases: pydantic.BaseModel
Manifest for a single generated asset.
asset_spec_hash : str
Section titled “asset_spec_hash : str”None
spec_fingerprint : str
Section titled “spec_fingerprint : str”None
project : str
Section titled “project : str”None
asset_intent : str
Section titled “asset_intent : str”None
prompts : dict[str, str]
Section titled “prompts : dict[str, str]”‘Field(…)’
task_graph : list[vendor_connectors.meshy.persistence.schemas.TaskGraphEntry]
Section titled “task_graph : list[vendor_connectors.meshy.persistence.schemas.TaskGraphEntry]”‘Field(…)’
artifacts : list[vendor_connectors.meshy.persistence.schemas.ArtifactRecord]
Section titled “artifacts : list[vendor_connectors.meshy.persistence.schemas.ArtifactRecord]”‘Field(…)’
history : list[vendor_connectors.meshy.persistence.schemas.StatusHistoryEntry]
Section titled “history : list[vendor_connectors.meshy.persistence.schemas.StatusHistoryEntry]”‘Field(…)’
resume_tokens : dict[str, Any]
Section titled “resume_tokens : dict[str, Any]”‘Field(…)’
‘Field(…)’
‘Field(…)’
class vendor_connectors.meshy.persistence.schemas.ProjectManifest
Section titled “class vendor_connectors.meshy.persistence.schemas.ProjectManifest”Bases: pydantic.BaseModel
Top-level manifest for all assets of a project.
model_config
Section titled “model_config”‘ConfigDict(…)’
project : str
Section titled “project : str”None
asset_specs : dict[str, vendor_connectors.meshy.persistence.schemas.AssetManifest]
Section titled “asset_specs : dict[str, vendor_connectors.meshy.persistence.schemas.AssetManifest]”‘Field(…)’
version : str
Section titled “version : str”‘1.0’
‘Field(…)’